[stable/kubernetes-dashboard] Add imagePullSecrets support (#12476)

* [stable/kubernetes-dashboard] Add imagePullSecrets support

Signed-off-by: David Cruz <david@typokign.com>

* Bump version

Signed-off-by: David Cruz <david@typokign.com>
This commit is contained in:
David Cruz
2019-03-25 09:27:10 -07:00
committed by Kubernetes Prow Robot
parent f4f08b90f7
commit c12fa0e3dd
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: kubernetes-dashboard
version: 1.2.2
version: 1.3.0
appVersion: 1.10.1
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.1` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Image pull secrets | `[]` |
| `annotations` | Annotations for deployment | `{}` |
| `replicaCount` | Number of replicas | `1` |
| `extraArgs` | Additional container arguments | `[]` |
@@ -81,6 +81,12 @@ spec:
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
resources:
{{ toYaml .Values.resources | indent 10 }}
{{- if .Values.image.pullSecrets }}
imagePullSecrets:
{{- range .Values.image.pullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
{{- if .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
+1
View File
@@ -7,6 +7,7 @@ image:
repository: k8s.gcr.io/kubernetes-dashboard-amd64
tag: v1.10.1
pullPolicy: IfNotPresent
pullSecrets: []
replicaCount: 1