Skip to content

Commit

Permalink
Merge pull request #817 from tomdymond/tomdymond-patch-1-controller-vars
Browse files Browse the repository at this point in the history
AWS EBS CSI Driver Helm chart to inject environment variables
  • Loading branch information
k8s-ci-robot authored Mar 29, 2021
2 parents 0ab2b50 + 5924f16 commit 8ffc74d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/aws-ebs-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.9.1"
name: aws-ebs-csi-driver
description: A Helm chart for AWS EBS CSI Driver
version: 0.9.14
version: 0.9.15
kubeVersion: ">=1.17.0-0"
home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver
sources:
Expand Down
6 changes: 6 additions & 0 deletions charts/aws-ebs-csi-driver/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ spec:
- name: AWS_REGION
value: {{ .Values.region }}
{{- end }}
{{- if .Values.controller.extraVars }}
{{- range $key, $val := .Values.controller.extraVars }}
- name: {{ $key }}
value: "{{ $val }}"
{{- end }}
{{- end }}
{{- if .Values.proxy.http_proxy }}
- name: HTTP_PROXY
value: {{ .Values.proxy.http_proxy | quote }}
Expand Down
4 changes: 4 additions & 0 deletions charts/aws-ebs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ k8sTagClusterId: ""
# region: us-east-1
region: ""

# Additonal environment variables for the controller
controller:
extraVars: {}

node:
priorityClassName: ""
nodeSelector: {}
Expand Down

0 comments on commit 8ffc74d

Please sign in to comment.