Fix back and front deploy
This commit is contained in:
parent
bc173e7ab7
commit
786da259ba
@ -43,12 +43,15 @@ spec:
|
||||
containerPort: {{ .Values.backend.service.targetPort }}
|
||||
protocol: TCP
|
||||
env:
|
||||
{{- toYaml .Values.backend.env | nindent 8 }}
|
||||
- name: DATABASE_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ include "tasko.fullname" . }}-secrets
|
||||
key: database-url
|
||||
{{- range $key, $value := .Values.backend.env }}
|
||||
- name: {{ $key }}
|
||||
value: {{ $value | quote }}
|
||||
{{- end }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
|
||||
@ -38,8 +38,13 @@ spec:
|
||||
- name: http
|
||||
containerPort: {{ .Values.frontend.service.targetPort }}
|
||||
protocol: TCP
|
||||
{{- if .Values.frontend.env }}
|
||||
env:
|
||||
{{- toYaml .Values.frontend.env | nindent 8 }}
|
||||
{{- range $key, $value := .Values.frontend.env }}
|
||||
- name: {{ $key }}
|
||||
value: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user