Skip to content

Commit 2ac3b31

Browse files
committed
ci: sync pgsql secrets in CI before deploying wire-server
1 parent 6f7b3ac commit 2ac3b31

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

bin/offline-helm.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ helm upgrade --install --wait rabbitmq ./charts/rabbitmq --values ./values/rabbi
2424
# it will only deploy the redis cluster
2525
helm upgrade --install --wait databases-ephemeral ./charts/databases-ephemeral --values ./values/databases-ephemeral/prod-values.example.yaml
2626
helm upgrade --install --wait reaper ./charts/reaper --values ./values/reaper/prod-values.example.yaml
27+
28+
# Sync postgresql secret before deploying wire-server
29+
./sync-k8s-secret-to-wire-secrets.sh \
30+
wire-postgresql-external-secret \
31+
password \
32+
values/wire-server/secrets.yaml \
33+
.brig.secrets.pgPassword \
34+
.galley.secrets.pgPassword \
35+
.spar.secrets.pgPassword \
36+
.gundeck.secrets.pgPassword
37+
2738
helm upgrade --install --wait --timeout=30m0s wire-server ./charts/wire-server --values ./values/wire-server/prod-values.example.yaml --values ./values/wire-server/secrets.yaml
2839

2940
# if charts/webapp directory exists

0 commit comments

Comments
 (0)