[go: nahoru, domu]

Skip to content

Commit

Permalink
helm: apply templating to Ingress host and environment variable values (
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanpiergies authored May 3, 2023
1 parent d5bce97 commit 8203cb9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion helm/minio/templates/console-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
servicePort: {{ $servicePort }}
{{- end }}
{{- if . }}
host: {{ . | quote }}
host: {{ tpl . $ | quote }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion helm/minio/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion helm/minio/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
servicePort: {{ $servicePort }}
{{- end }}
{{- if . }}
host: {{ . | quote }}
host: {{ tpl . $ | quote }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion helm/minio/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 8203cb9

Please sign in to comment.