feat(chart) Add volumes to default-backend deployment

Update changelog and Chart.yml

Signed-off-by: Pierre Péronnet <pierre.peronnet@ovhcloud.com>
This commit is contained in:
Pierre Péronnet 2021-02-25 10:23:26 +01:00
parent a7fb791132
commit 59f930dd25
No known key found for this signature in database
GPG key ID: 510D15F164E4D14B
4 changed files with 22 additions and 2 deletions

View file

@ -88,6 +88,9 @@ spec:
- name: http
containerPort: {{ .Values.defaultBackend.port }}
protocol: TCP
{{- if .Values.defaultBackend.extraVolumeMounts }}
volumeMounts: {{- toYaml .Values.defaultBackend.extraVolumeMounts | nindent 12 }}
{{- end }}
{{- if .Values.defaultBackend.resources }}
resources: {{ toYaml .Values.defaultBackend.resources | nindent 12 }}
{{- end }}
@ -102,4 +105,7 @@ spec:
affinity: {{ toYaml .Values.defaultBackend.affinity | nindent 8 }}
{{- end }}
terminationGracePeriodSeconds: 60
{{- if .Values.defaultBackend.extraVolumes }}
volumes: {{ toYaml .Values.defaultBackend.extraVolumes | nindent 8 }}
{{- end }}
{{- end }}