Skip to content

Commit 8ffc74d

Browse files
authored
Merge pull request #817 from tomdymond/tomdymond-patch-1-controller-vars
AWS EBS CSI Driver Helm chart to inject environment variables
2 parents 0ab2b50 + 5924f16 commit 8ffc74d

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

charts/aws-ebs-csi-driver/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: "0.9.1"
33
name: aws-ebs-csi-driver
44
description: A Helm chart for AWS EBS CSI Driver
5-
version: 0.9.14
5+
version: 0.9.15
66
kubeVersion: ">=1.17.0-0"
77
home: https://github.com/kubernetes-sigs/aws-ebs-csi-driver
88
sources:

charts/aws-ebs-csi-driver/templates/controller.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ spec:
8888
- name: AWS_REGION
8989
value: {{ .Values.region }}
9090
{{- end }}
91+
{{- if .Values.controller.extraVars }}
92+
{{- range $key, $val := .Values.controller.extraVars }}
93+
- name: {{ $key }}
94+
value: "{{ $val }}"
95+
{{- end }}
96+
{{- end }}
9197
{{- if .Values.proxy.http_proxy }}
9298
- name: HTTP_PROXY
9399
value: {{ .Values.proxy.http_proxy | quote }}

charts/aws-ebs-csi-driver/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ k8sTagClusterId: ""
107107
# region: us-east-1
108108
region: ""
109109

110+
# Additonal environment variables for the controller
111+
controller:
112+
extraVars: {}
113+
110114
node:
111115
priorityClassName: ""
112116
nodeSelector: {}

0 commit comments

Comments
 (0)