We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5dccc4e + 680310d commit 99e99ecCopy full SHA for 99e99ec
templates/service.yaml
@@ -8,6 +8,9 @@ metadata:
8
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
9
release: {{ .Release.Name }}
10
heritage: {{ .Release.Service }}
11
+{{- if .Values.service.labels }}
12
+{{ toYaml .Values.service.labels | indent 4 }}
13
+{{- end }}
14
{{- if .Values.service.annotations }}
15
annotations:
16
{{ toYaml .Values.service.annotations | indent 4 }}
values.yaml
@@ -37,6 +37,8 @@ service:
37
# loadBalancerSourceRanges:
38
annotations: {}
39
# foo.io/bar: "true"
40
+ labels: {}
41
+ # foo.io/baz: "false"
42
ingress:
43
enabled: false
44
className: nginx
0 commit comments