Temporary switch to new k8s secrets name

This is needed to we can easily migrate to the new db with the
recent pantry changes. If something goes wrong we can simply revert to
the old secret (and hence the old db).

Once the upgrade is done (and verified) we can update the old secret and
update the name in this commit (back to it's original name)
This commit is contained in:
Deni Bertovic 2019-06-17 15:21:59 +02:00
parent 3a97473118
commit d2ee4f0f13
No known key found for this signature in database
GPG Key ID: 365E1D1464846B92
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ spec:
- name: PGSTRING
valueFrom:
secretKeyRef:
name: {{ .Values.name }}
name: {{ .Values.name }}-upgrade
key: PGCONN
command:
- bash

View File

@ -28,7 +28,7 @@ spec:
- name: PGSTRING
valueFrom:
secretKeyRef:
name: {{ .Values.name }}
name: {{ .Values.name }}-upgrade
key: PGCONN
readinessProbe:
httpGet:

View File

@ -28,7 +28,7 @@ spec:
- name: PGSTRING
valueFrom:
secretKeyRef:
name: {{ .Values.name }}
name: {{ .Values.name }}-upgrade
key: PGCONN
readinessProbe:
httpGet: