[stable/kubernetes-dashboard] Support pod annotations (#8890)

Signed-off-by: Emily Karisch <e.karisch@pixelart.at>
This commit is contained in:
Emii Khaos
2019-01-09 08:44:50 -08:00
committed by Kubernetes Prow Robot
parent f8419597d5
commit 76f08fe30c
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: kubernetes-dashboard
version: 1.0.1
version: 1.1.0
appVersion: 1.10.1
description: General-purpose web UI for Kubernetes clusters
keywords:
+1
View File
@@ -50,6 +50,7 @@ The following table lists the configurable parameters of the kubernetes-dashboar
| `annotations` | Annotations for deployment | `{}` |
| `replicaCount` | Number of replicas | `1` |
| `extraArgs` | Additional container arguments | `[]` |
| `podAnnotations` | Annotations to be added to pods | {} |
| `nodeSelector` | node labels for pod assignment | `{}` |
| `tolerations` | List of node taints to tolerate (requires Kubernetes >= 1.6) | `[]` |
| `affinity` | Affinity for pod assignment | `[]` |
@@ -24,6 +24,10 @@ spec:
type: RollingUpdate
template:
metadata:
{{- if .Values.podAnnotations }}
annotations:
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
labels:
app: {{ template "kubernetes-dashboard.name" . }}
release: {{ .Release.Name }}
+3
View File
@@ -27,6 +27,9 @@ enableInsecureLogin: false
# - --enable-insecure-login
# - --system-banner="Welcome to Kubernetes"
# Annotations to be added to kubernetes dashboard pods
podAnnotations: {}
## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##