adds annotations support for kubernetes-dashboard deployment (#9508)

Signed-off-by: ahsan-storm <ahsanmuhammad1@outlook.com>
This commit is contained in:
Muhammad Ahsan
2018-12-05 07:29:15 -08:00
committed by Kubernetes Prow Robot
parent 301ac01ba2
commit fab11238b3
4 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: kubernetes-dashboard
version: 0.8.0
version: 0.9.0
appVersion: 1.10.0
description: General-purpose web UI for Kubernetes clusters
keywords:
+1
View File
@@ -47,6 +47,7 @@ The following table lists the configurable parameters of the kubernetes-dashboar
| `image.repository` | Repository for container image | `k8s.gcr.io/kubernetes-dashboard-amd64` |
| `image.tag` | Image tag | `v1.10.0` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `annotations` | Annotations for deployment | `{}` |
| `replicaCount` | Number of replicas | `1` |
| `extraArgs` | Additional container arguments | `[]` |
| `nodeSelector` | node labels for pod assignment | `{}` |
@@ -2,6 +2,10 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: {{ template "kubernetes-dashboard.fullname" . }}
{{- if .Values.annotations }}
annotations:
{{ toYaml .Values.annotations | indent 4 }}
{{- end }}
labels:
app: {{ template "kubernetes-dashboard.name" . }}
chart: {{ template "kubernetes-dashboard.chart" . }}
+2
View File
@@ -10,6 +10,8 @@ image:
replicaCount: 1
## Here annotations can be added to the kubernetes dashboard deployment
annotations: {}
## Here labels can be added to the kubernetes dashboard deployment
##
labels: {}