Skip to content

Commit 7545b09

Browse files
authored
helm: Add imagePullSecret support (kubernetes#2105)
Signed-off-by: Ondrej Vasko <[email protected]>
1 parent a59fec2 commit 7545b09

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

charts/cinder-csi-plugin/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: latest
33
description: Cinder CSI Chart for OpenStack
44
name: openstack-cinder-csi
5-
version: 2.3.0
5+
version: 2.3.1
66
home: https://github.com/kubernetes/cloud-provider-openstack
77
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
88
maintainers:

charts/cinder-csi-plugin/templates/controllerplugin-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,7 @@ spec:
154154
{{- if .Values.priorityClassName }}
155155
priorityClassName: {{ .Values.priorityClassName }}
156156
{{- end }}
157+
{{- with .Values.imagePullSecrets }}
158+
imagePullSecrets:
159+
{{- toYaml . | nindent 8 }}
160+
{{- end }}

charts/cinder-csi-plugin/templates/nodeplugin-daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,7 @@ spec:
127127
{{- if .Values.priorityClassName }}
128128
priorityClassName: {{ .Values.priorityClassName }}
129129
{{- end }}
130+
{{- with .Values.imagePullSecrets }}
131+
imagePullSecrets:
132+
{{- toYaml . | nindent 8 }}
133+
{{- end }}

charts/cinder-csi-plugin/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,6 @@ storageClass:
139139
clusterID: "kubernetes"
140140

141141
priorityClassName: ""
142+
143+
imagePullSecrets: []
144+
# - name: my-imagepull-secret

0 commit comments

Comments
 (0)