Add annotations to dex service
Currently `.Values.dex.metrics.service.annotations` is not used anywhere - this adds that to the template.
This commit is contained in:
parent
209b7798d7
commit
7e60320804
1 changed files with 7 additions and 1 deletions
|
@ -3,6 +3,12 @@ apiVersion: v1
|
|||
kind: Service
|
||||
metadata:
|
||||
name: {{ template "argo-cd.dex.fullname" . }}
|
||||
{{- if .Values.dex.metrics.service.annotations }}
|
||||
annotations:
|
||||
{{- range $key, $value := .Values.dex.metrics.service.annotations }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.dex.name }}
|
||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
||||
|
|
Loading…
Reference in a new issue