Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/kubernetes-dashboard] add extraEnv #14998

Merged
merged 2 commits into from
Jun 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/kubernetes-dashboard/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: kubernetes-dashboard
version: 1.5.3
version: 1.6.0
appVersion: 1.10.1
description: General-purpose web UI for Kubernetes clusters
keywords:
Expand Down
1 change: 1 addition & 0 deletions stable/kubernetes-dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,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 | `[]` |
| `extraEnv` | Additional container environment variables | `[]` |
| `podAnnotations` | Annotations to be added to pods | {} |
| `nodeSelector` | node labels for pod assignment | `{}` |
| `tolerations` | List of node taints to tolerate (requires Kubernetes >= 1.6) | `[]` |
Expand Down
4 changes: 4 additions & 0 deletions stable/kubernetes-dashboard/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ spec:
{{- end }}
{{- if .Values.extraArgs }}
{{ toYaml .Values.extraArgs | indent 10 }}
{{- end }}
{{- if .Values.extraEnv }}
env:
{{ toYaml .Values.extraEnv | indent 10 }}
{{- end }}
ports:
{{- if .Values.enableInsecureLogin }}
Expand Down
6 changes: 6 additions & 0 deletions stable/kubernetes-dashboard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ enableInsecureLogin: false
# - --enable-insecure-login
# - --system-banner="Welcome to Kubernetes"

## Additional container environment variables
##
extraEnv: []
# - name: SOME_VAR
# value: 'some value'

# Annotations to be added to kubernetes dashboard pods
podAnnotations: {}

Expand Down