Update backend deployment of brand-master
This commit is contained in:
parent
864d5aa980
commit
b667e2b7af
@ -30,7 +30,7 @@ spec:
|
||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
initContainers:
|
||||
- name: wait-for-postgres
|
||||
image: harbor.dvirlabs.com/base-images/busybox:1.35
|
||||
image: harbor.dvirlabs.com/dockerhub/busybox:1.35
|
||||
command: ['sh', '-c', 'until nc -z {{ include "brand-master.fullname" . }}-db-headless {{ .Values.postgres.port | default 5432 }}; do echo waiting for postgres; sleep 2; done;']
|
||||
containers:
|
||||
- name: backend
|
||||
@ -48,12 +48,12 @@ spec:
|
||||
secretKeyRef:
|
||||
name: {{ include "brand-master.fullname" . }}-secrets
|
||||
key: database-url
|
||||
- name: SECRET_KEY
|
||||
- name: JWT_SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "brand-master.fullname" . }}-secrets
|
||||
key: jwt-secret-key
|
||||
- name: ALGORITHM
|
||||
- name: JWT_ALGORITHM
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "brand-master.fullname" . }}-secrets
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user