feature/sso-hardening #9

Merged
bstein merged 685 commits from feature/sso-hardening into main 2026-01-13 20:23:26 +00:00
Showing only changes of commit 8950306c53 - Show all commits

View File

@ -2,15 +2,15 @@
apiVersion: batch/v1
kind: Job
metadata:
name: mas-db-ensure-8
name: mas-db-ensure-9
namespace: comms
spec:
backoffLimit: 0
backoffLimit: 1
ttlSecondsAfterFinished: 600
template:
spec:
serviceAccountName: mas-db-ensure
restartPolicy: OnFailure
restartPolicy: Never
containers:
- name: ensure
image: bitnami/kubectl:latest
@ -18,6 +18,7 @@ spec:
args:
- |
set -eu
trap 'echo "mas-db-ensure failed"; sleep 300' ERR
umask 077
if kubectl -n comms get secret mas-db >/dev/null 2>&1; then
MAS_PASS="$(kubectl -n comms get secret mas-db -o jsonpath='{.data.password}' | base64 -d)"