Commit 1c59fbfc authored by Francesco-gmail's avatar Francesco-gmail
Browse files

defaultAnnotations

parent 8d999e46
Pipeline #180706 passed with stage
in 7 seconds
......@@ -12,9 +12,12 @@ metadata:
{{ include "labels" . | indent 4 }}
annotations:
kubernetes.io/ingress.class: {{ .Values.ingress.nginx_class | quote }}
{{- range $key, $value := .Values.ingress.annotations }}
{{- $value | quote | nindent 4 }}
{{- end }}
{{- with .Values.ingress.defaultAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.ingress.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
rules:
{{- range .Values.ingress.hosts }}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment