Commit 92406e18 authored by Francesco-gmail's avatar Francesco-gmail
Browse files

test new annotation system

parent c123e1bf
Pipeline #179893 passed with stage
in 6 seconds
......@@ -9,10 +9,9 @@ data:
kind: ConfigMap
metadata:
labels:
{{/* include "labels" . | indent 4 */}}
{{ include "labels" . | indent 4 }}
app: karma
name: {{ .name }}
{{/* namespace: monitoring*/}}
{{- end -}}
{{- end -}}
......
......@@ -12,9 +12,9 @@ metadata:
{{ include "labels" . | indent 4 }}
annotations:
kubernetes.io/ingress.class: {{ .Values.ingress.nginx_class | quote }}
{{- with .Values.ingress.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- range $key, $value := .Values.ingress.annotations }}
{{- $value | 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