comms: run synapse admin ensure with python image
This commit is contained in:
parent
6df05c9adc
commit
c901a0a0cb
@ -32,7 +32,7 @@ spec:
|
|||||||
values: ["arm64"]
|
values: ["arm64"]
|
||||||
containers:
|
containers:
|
||||||
- name: ensure
|
- name: ensure
|
||||||
image: registry.bstein.dev/infra/synapse-admin-ensure:0.1.0
|
image: python:3.12-slim
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
env:
|
env:
|
||||||
- name: VAULT_ADDR
|
- name: VAULT_ADDR
|
||||||
@ -46,6 +46,7 @@ spec:
|
|||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
python -m pip install --no-cache-dir psycopg2-binary
|
||||||
python - <<'PY'
|
python - <<'PY'
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user