[docker-registry] add optional service annotations (#3238)

This commit is contained in:
James Rawlings
2018-01-11 12:45:12 -08:00
committed by k8s-ci-robot
parent d41af45fcb
commit 2ee30c47e5
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for Docker Registry
name: docker-registry
version: 1.0.0
version: 1.0.1
appVersion: 2.6.2
home: https://hub.docker.com/_/registry/
icon: https://hub.docker.com/public/images/logos/mini-logo.svg
@@ -7,6 +7,10 @@ metadata:
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- if .Values.service.annotations }}
annotations:
{{ toYaml .Values.service.annotations | indent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
ports:
+2
View File
@@ -10,6 +10,8 @@ service:
name: registry
type: ClusterIP
port: 5000
annotations: {}
# foo.io/bar: "true"
ingress:
enabled: false
# Used to create an Ingress record.