Harden backup credentials and add durable image inventory publication
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a06ecb-456a-71c2-b41e-0755d336e883
This commit is contained in:
parent
62423fd092
commit
0349a08e1b
13 changed files with 365 additions and 23 deletions
|
|
@ -10,7 +10,6 @@
|
|||
# RAILIANCE_BACKUP_DRY_RUN=1 skip upload and remote side effects
|
||||
set -euo pipefail
|
||||
|
||||
: "${RAILIANCE_BACKUP_NC_TOKEN:=MfTBEjcJTGS8Ywo}"
|
||||
|
||||
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
# shellcheck source=lib/railiance-print.sh
|
||||
|
|
@ -55,8 +54,10 @@ cleanup_plain() {
|
|||
}
|
||||
trap cleanup_plain EXIT
|
||||
|
||||
if [[ "${DRY_RUN}" != "1" ]]; then
|
||||
railiance_backup_require_openbao_lane
|
||||
fi
|
||||
railiance_backup_require_tools
|
||||
railiance_backup_require_openbao_lane
|
||||
|
||||
FORGEJO_DB_POD="${FORGEJO_DB_POD:-$(kubectl_get_pod "${FORGEJO_DB_NAMESPACE}" \
|
||||
"cnpg.io/cluster=${FORGEJO_DB_CLUSTER}" || true)}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue