diff --git a/helm/minio/templates/console-ingress.yaml b/helm/minio/templates/console-ingress.yaml index 3df9242df..79a2b1b58 100644 --- a/helm/minio/templates/console-ingress.yaml +++ b/helm/minio/templates/console-ingress.yaml @@ -49,7 +49,7 @@ spec: servicePort: {{ $servicePort }} {{- end }} {{- if . }} - host: {{ . | quote }} + host: {{ tpl . $ | quote }} {{- end }} {{- end }} {{- end }} diff --git a/helm/minio/templates/deployment.yaml b/helm/minio/templates/deployment.yaml index 435ad1c4e..dee53cddd 100644 --- a/helm/minio/templates/deployment.yaml +++ b/helm/minio/templates/deployment.yaml @@ -154,7 +154,7 @@ spec: {{- end }} {{- range $key, $val := .Values.environment }} - name: {{ $key }} - value: {{ $val | quote }} + value: {{ tpl $val $ | quote }} {{- end }} resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.extraContainers }} diff --git a/helm/minio/templates/ingress.yaml b/helm/minio/templates/ingress.yaml index d27be6ecc..1a564c6bc 100644 --- a/helm/minio/templates/ingress.yaml +++ b/helm/minio/templates/ingress.yaml @@ -49,7 +49,7 @@ spec: servicePort: {{ $servicePort }} {{- end }} {{- if . }} - host: {{ . | quote }} + host: {{ tpl . $ | quote }} {{- end }} {{- end }} {{- end }} diff --git a/helm/minio/templates/statefulset.yaml b/helm/minio/templates/statefulset.yaml index e4fbae7ac..21a3e60f9 100644 --- a/helm/minio/templates/statefulset.yaml +++ b/helm/minio/templates/statefulset.yaml @@ -172,7 +172,7 @@ spec: {{- end }} {{- range $key, $val := .Values.environment }} - name: {{ $key }} - value: {{ $val | quote }} + value: {{ tpl $val $ | quote }} {{- end }} resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.extraContainers }}