Merge pull request #131 from laverya/laverya-add-service-labels

add the ability to specify labels for the registry service
This commit is contained in:
Vyas
2024-06-03 13:18:13 -05:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -8,6 +8,9 @@ metadata:
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- if .Values.service.labels }}
{{ toYaml .Values.service.labels | indent 4 }}
{{- end }}
{{- if .Values.service.annotations }}
annotations:
{{ toYaml .Values.service.annotations | indent 4 }}

View File

@@ -37,6 +37,8 @@ service:
# loadBalancerSourceRanges:
annotations: {}
# foo.io/bar: "true"
labels: {}
# foo.io/baz: "false"
ingress:
enabled: false
className: nginx