Skip to content

Commit

Permalink
[#313] Use template for enabling EDI
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillmakhonin committed Dec 27, 2018
1 parent 5093f9d commit 8982d36
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/helms/legion/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Create dex Ingress auth annotations
*/}}
{{- define "dex-ingress-annotations" }}
{{- if .Values.auth.enabled -}}
{{- range $key, $value := .Values.edi.auth.annotations }}
{{- range $key, $value := .Values.auth.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion deploy/helms/legion/templates/edi/edi-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ metadata:
{{- range $key, $value := .Values.edi.ingress.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- template "dex-ingress-annotations" }}
{{- template "dex-ingress-annotations" . }}
labels:
heritage: {{ .Release.Service | quote }}
release: {{ .Release.Name | quote }}
Expand Down
2 changes: 1 addition & 1 deletion deploy/helms/legion/templates/metrics/grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ metadata:
{{- range $key, $value := .Values.grafana.ingress.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- template "dex-ingress-annotations" }}
{{- template "dex-ingress-annotations" . }}
labels:
heritage: {{ .Release.Service | quote }}
release: {{ .Release.Name | quote }}
Expand Down

0 comments on commit 8982d36

Please sign in to comment.