|
@@ -49,7 +49,11 @@ spec:
|
|
|
- name: {{ .Chart.Name }}
|
|
|
{{ include "common.resources.limitation" . | nindent 10 }}
|
|
|
{{ include "common.containers.imageConfig" .Values.image | nindent 10 }}
|
|
|
+ {{ if hasKey .Values "appVolumeMounts" }}
|
|
|
volumeMounts: {{ include "common.storage.configureAppVolumeMountsInContainer" .Values | nindent 12 }}
|
|
|
+ {{ else }}
|
|
|
+ volumeMounts:
|
|
|
+ {{ end }}
|
|
|
{{- include "minio.tlsKeysVolumeMount" . | nindent 12 }}
|
|
|
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
|
|
|
- name: extrappvolume-{{ $index }}
|
|
@@ -114,7 +118,11 @@ spec:
|
|
|
{{ end }}
|
|
|
{{ include "common.containers.environmentVariables" (dict "environmentVariables" $envList) | nindent 12 }}
|
|
|
{{ include "common.networking.dnsConfiguration" .Values | nindent 6 }}
|
|
|
+ {{ if hasKey .Values "appVolumeMounts" }}
|
|
|
volumes: {{ include "common.storage.configureAppVolumes" .Values | nindent 8 }}
|
|
|
+ {{ else }}
|
|
|
+ volumes:
|
|
|
+ {{ end }}
|
|
|
{{- include "minio.tlsKeysVolume" . | nindent 8 }}
|
|
|
{{ range $index, $hostPathConfiguration := .Values.extraAppVolumeMounts }}
|
|
|
- name: extrappvolume-{{ $index }}
|