Skip to content

Commit

Permalink
[kubernetes-dashboard] add optional service annotations (helm#3275)
Browse files Browse the repository at this point in the history
  • Loading branch information
rawlingsj authored and k8s-ci-robot committed Jan 14, 2018
1 parent 30ca8ef commit 10ecc9b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/kubernetes-dashboard/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: kubernetes-dashboard
version: 0.4.3
version: 0.4.4
appVersion: 1.7.1
description: General-purpose web UI for Kubernetes clusters
keywords:
Expand Down
4 changes: 4 additions & 0 deletions stable/kubernetes-dashboard/templates/svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ metadata:
release: "{{ .Release.Name }}"
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
kubernetes.io/cluster-service: "true"
{{- if .Values.serviceAnnotations }}
annotations:
{{ toYaml .Values.serviceAnnotations | indent 4 }}
{{- end }}
spec:
type: {{ .Values.serviceType }}
ports:
Expand Down
2 changes: 2 additions & 0 deletions stable/kubernetes-dashboard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ nodeSelector: {}
httpPort: 80

serviceType: ClusterIP
serviceAnnotations: {}
# foo.io/bar: "true"

resources:
limits:
Expand Down

0 comments on commit 10ecc9b

Please sign in to comment.