comms: retain synapse admin ensure logs
This commit is contained in:
parent
292d513e10
commit
2dc208e919
@ -2,15 +2,15 @@
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: synapse-admin-ensure-2
|
||||
name: synapse-admin-ensure-3
|
||||
namespace: comms
|
||||
spec:
|
||||
backoffLimit: 1
|
||||
backoffLimit: 0
|
||||
ttlSecondsAfterFinished: 3600
|
||||
template:
|
||||
spec:
|
||||
serviceAccountName: comms-secrets-ensure
|
||||
restartPolicy: OnFailure
|
||||
restartPolicy: Never
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
@ -40,7 +40,7 @@ spec:
|
||||
- -c
|
||||
- |
|
||||
set -euo pipefail
|
||||
pip install --no-cache-dir psycopg2-binary bcrypt >/dev/null
|
||||
pip install --no-cache-dir psycopg2-binary bcrypt
|
||||
python - <<'PY'
|
||||
import json
|
||||
import os
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user