add config file to init container

This commit is contained in:
red 2025-04-09 12:04:28 -04:00
parent 69e2a3eb0e
commit 3b3f862a9c
2 changed files with 9 additions and 1 deletions

View file

@ -28,6 +28,14 @@ spec:
- name: DB_USER
value: pleroma
- name: DB_PASS
valueFrom:
secretKeyRef:
name: postgres
key: postgres-password
volumeMounts:
- name: pleroma-config-volume
mountPath: /etc/pleroma/config.exs
subPath: config.exs
containers:
- name: pleroma
image: cr.forge.lan/darkdork-dev/pleroma:${CI_COMMIT_SHA}