comms: retain synapse admin ensure logs

This commit is contained in:
Brad Stein 2026-01-27 05:02:02 -03:00
parent 292d513e10
commit 2dc208e919

View File

@ -2,15 +2,15 @@
apiVersion: batch/v1 apiVersion: batch/v1
kind: Job kind: Job
metadata: metadata:
name: synapse-admin-ensure-2 name: synapse-admin-ensure-3
namespace: comms namespace: comms
spec: spec:
backoffLimit: 1 backoffLimit: 0
ttlSecondsAfterFinished: 3600 ttlSecondsAfterFinished: 3600
template: template:
spec: spec:
serviceAccountName: comms-secrets-ensure serviceAccountName: comms-secrets-ensure
restartPolicy: OnFailure restartPolicy: Never
affinity: affinity:
nodeAffinity: nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution: requiredDuringSchedulingIgnoredDuringExecution:
@ -40,7 +40,7 @@ spec:
- -c - -c
- | - |
set -euo pipefail set -euo pipefail
pip install --no-cache-dir psycopg2-binary bcrypt >/dev/null pip install --no-cache-dir psycopg2-binary bcrypt
python - <<'PY' python - <<'PY'
import json import json
import os import os