mirror of
https://github.com/twuni/docker-registry.helm.git
synced 2026-02-14 12:49:51 +00:00
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:
@@ -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 }}
|
||||
|
||||
@@ -37,6 +37,8 @@ service:
|
||||
# loadBalancerSourceRanges:
|
||||
annotations: {}
|
||||
# foo.io/bar: "true"
|
||||
labels: {}
|
||||
# foo.io/baz: "false"
|
||||
ingress:
|
||||
enabled: false
|
||||
className: nginx
|
||||
|
||||
Reference in New Issue
Block a user