File tree Expand file tree Collapse file tree 9 files changed +55
-27
lines changed Expand file tree Collapse file tree 9 files changed +55
-27
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
- appVersion : " v1.19.0"
2
+ appVersion : v1.19.0
3
3
description : Cinder CSI Chart for OpenStack
4
4
name : openstack-cinder-csi
5
- version : 1.2.1
5
+ version : 1.2.2
6
6
home : https://github.com/kubernetes/cloud-provider-openstack
7
7
icon : https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
8
8
maintainers :
Original file line number Diff line number Diff line change 73
73
- name : socket-dir
74
74
mountPath : /var/lib/csi/sockets/pluginproxy/
75
75
- name : cinder-csi-plugin
76
- image : " {{ .Values.csi.plugin.image.repository }}:{{ .Values.csi.plugin.image.tag }}"
76
+ image : " {{ .Values.csi.plugin.image.repository }}:{{ .Values.csi.plugin.image.tag | default .Chart.AppVersion }}"
77
77
imagePullPolicy : {{ .Values.csi.plugin.image.pullPolicy }}
78
78
args :
79
79
- /bin/cinder-csi-plugin
95
95
volumeMounts :
96
96
- name : socket-dir
97
97
mountPath : /csi
98
- - name : cacert
99
- mountPath : /etc/cacert
100
- readOnly : true
98
+ {{- .Values.csi.plugin.volumeMounts | toYaml | trimSuffix "\n" | nindent 12 }}
101
99
volumes :
102
- - name : cacert
103
- hostPath :
104
- path : /etc/cacert
105
- type : Directory
106
100
- name : socket-dir
107
101
emptyDir :
102
+ {{ .Values.csi.plugin.volumes | toYaml | trimSuffix "\n" | nindent 8 }}
Original file line number Diff line number Diff line change 47
47
capabilities :
48
48
add : ["SYS_ADMIN"]
49
49
allowPrivilegeEscalation : true
50
- image : " {{ .Values.csi.plugin.image.repository }}:{{ .Values.csi.plugin.image.tag }}"
50
+ image : " {{ .Values.csi.plugin.image.repository }}:{{ .Values.csi.plugin.image.tag | default .Chart.AppVersion }}"
51
51
imagePullPolicy : {{ .Values.csi.plugin.image.pullPolicy }}
52
52
args :
53
53
- /bin/cinder-csi-plugin
73
73
- name : pods-probe-dir
74
74
mountPath : /dev
75
75
mountPropagation : " HostToContainer"
76
- - name : cacert
77
- mountPath : /etc/cacert
78
- readOnly : true
76
+ {{- .Values.csi.plugin.volumeMounts | toYaml | trimSuffix "\n" | nindent 12 }}
79
77
volumes :
80
- - name : cacert
81
- hostPath :
82
- path : /etc/cacert
83
- type : Directory
84
78
- name : socket-dir
85
79
hostPath :
86
80
path : /var/lib/kubelet/plugins/cinder.csi.openstack.org
101
95
hostPath :
102
96
path : /dev
103
97
type : Directory
98
+ {{ .Values.csi.plugin.volumes | toYaml | trimSuffix "\n" | nindent 8 }}
Original file line number Diff line number Diff line change
1
+ {{- if .Values.secret }}
2
+ apiVersion : v1
3
+ kind : Secret
4
+ metadata :
5
+ name : {{ .Values.secret.name }}
6
+ namespace : {{ .Release.NameSpace }}
7
+ type : Opaque
8
+ stringData :
9
+ {{ .Values.secret.data | toYaml | trimSuffix "\n" | nindent 2 }}
10
+ {{- end }}
Original file line number Diff line number Diff line change 30
30
plugin :
31
31
image :
32
32
repository : docker.io/k8scloudprovider/cinder-csi-plugin
33
- tag : v1.19.0
34
33
pullPolicy : IfNotPresent
34
+ tag : # defaults to .Chart.AppVersion
35
+ volumes :
36
+ - name : cacert
37
+ hostPath :
38
+ path : /etc/cacert
39
+ - name : cloud-config
40
+ hostPath :
41
+ path : /etc/kubernetes
42
+ # secret:
43
+ # secretName: cinder-csi-cloud-config
44
+ volumeMounts :
45
+ - name : cacert
46
+ mountPath : /etc/cacert
47
+ readOnly : true
48
+ - name : cloud-config
49
+ mountPath : /etc/kubernetes
50
+ readOnly : true
51
+
52
+ secret :
53
+ # name: cinder-csi-cloud-config
54
+ # data:
55
+ # cloud-config: |-
56
+ # [Global]
57
+ # auth-url=http://openstack-control-plane
58
+ # user-id=user-id
59
+ # password=password
60
+ # trust-id=trust-id
61
+ # region=RegionOne
62
+ # ca-file=/etc/cacert/ca-bundle.crt
35
63
36
64
storageClass :
37
65
enabled : true
Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
- appVersion : latest
2
+ appVersion : v1.19.0
3
3
description : Manila CSI Chart for OpenStack
4
4
name : openstack-manila-csi
5
- version : 0.2.0
5
+ version : 0.2.1
6
6
home : http://github.com/kubernetes/cloud-provider-openstack
7
7
icon : https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
8
8
maintainers :
Original file line number Diff line number Diff line change 65
65
capabilities :
66
66
add : ["SYS_ADMIN"]
67
67
allowPrivilegeEscalation : true
68
- image : " {{ $.Values.csimanila.image.repository }}:{{ $.Values.csimanila.image.tag }}"
68
+ image : " {{ $.Values.csimanila.image.repository }}:{{ $.Values.csimanila.image.tag | default $.Chart.AppVersion }}"
69
69
command : ["/bin/sh", "-c",
70
70
' /bin/manila-csi-plugin
71
71
--v=5
Original file line number Diff line number Diff line change 61
61
capabilities :
62
62
add : ["SYS_ADMIN"]
63
63
allowPrivilegeEscalation : true
64
- image : " {{ $.Values.csimanila.image.repository }}:{{ $.Values.csimanila.image.tag }}"
64
+ image : " {{ $.Values.csimanila.image.repository }}:{{ $.Values.csimanila.image.tag | default $.Chart.AppVersion }}"
65
65
command : ["/bin/sh", "-c",
66
66
' /bin/manila-csi-plugin
67
67
--v=5
Original file line number Diff line number Diff line change
1
+ nameOverride : " "
2
+ fullNameOverride : " "
3
+
1
4
# Base name of the CSI Manila driver
2
5
driverName : manila.csi.openstack.org
3
6
@@ -31,8 +34,8 @@ csimanila:
31
34
# Image spec
32
35
image :
33
36
repository : k8scloudprovider/manila-csi-plugin
34
- tag : v1.19.0
35
37
pullPolicy : IfNotPresent
38
+ tag : # defaults to .Chart.AppVersion
36
39
37
40
# DeamonSet deployment
38
41
nodeplugin :
@@ -79,6 +82,3 @@ controllerplugin:
79
82
affinity : {}
80
83
# Use fullnameOverride to fully override the name of this component
81
84
# fullnameOverride: some-other-name
82
-
83
- # Override the default app name using nameOverride
84
- # nameOverride: some-other-name
You can’t perform that action at this time.
0 commit comments