Some more goodies

fix-kubectl - updated tool versions
foreach-secret - a tool to export an ix-app's secret, executing a
command line on the content.

Was created to periodically update AdGuard Home HTTPS certificate over
SSH.

show-console - designed to be executed with `watch`:
    `sudo watch ./show-console.sh'

Will output what is shown on the console.
This commit is contained in:
Lockszmith 2024-02-05 12:11:00 -05:00
parent a286451d8f
commit 01cb3798ed
3 changed files with 83 additions and 2 deletions

View file

@ -44,7 +44,7 @@ if [[ -z "${BASE_0}" || "${BASE_0}" == "$BASE_SHELL" ]]; then
. <( kubectl cnpg completion ${SHELL##*/} )
fi
if [[ -z "$(type -t 'kubectl-cnpg')" || -n "$UPGRADE" ]]; then
DL_VER=1.21.1
DL_VER=1.22.0
GH_URL=https://github.com/cloudnative-pg/cloudnative-pg
DL_FILE="kubectl-cnpg_${DL_VER}_linux_x86_64.deb"
URL=${GH_URL}/releases/download/v${DL_VER}/${DL_FILE}
@ -55,7 +55,7 @@ if [[ -z "${BASE_0}" || "${BASE_0}" == "$BASE_SHELL" ]]; then
fi
if [[ -z "$(type -t 'kubetui')" || -n "$UPGRADE" ]]; then
DL_VER=1.4.2
DL_VER=1.5.0
GH_URL=https://github.com/sarub0b0/kubetui
DL_FILE=kubetui-x86_64-unknown-linux-musl-rustls
URL=${GH_URL}/releases/download/v${DL_VER}/${DL_FILE}