diff --git a/charts/manila-csi-plugin/Chart.yaml b/charts/manila-csi-plugin/Chart.yaml index c01d2714e7..97ad59cd0d 100644 --- a/charts/manila-csi-plugin/Chart.yaml +++ b/charts/manila-csi-plugin/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: v1.32.0 description: Manila CSI Chart for OpenStack name: openstack-manila-csi -version: 2.33.0-alpha.2 +version: 2.33.0-alpha.3 home: http://github.com/kubernetes/cloud-provider-openstack icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png maintainers: diff --git a/charts/manila-csi-plugin/templates/controllerplugin-statefulset.yaml b/charts/manila-csi-plugin/templates/controllerplugin-statefulset.yaml index e25bad19fd..d38911b7fb 100644 --- a/charts/manila-csi-plugin/templates/controllerplugin-statefulset.yaml +++ b/charts/manila-csi-plugin/templates/controllerplugin-statefulset.yaml @@ -132,6 +132,9 @@ spec: mountPath: /runtimeconfig readOnly: true {{- end }} + {{- with $.Values.controllerplugin.volumeMounts }} + {{- toYaml . | nindent 12 }} + {{- end }} resources: {{ toYaml $.Values.controllerplugin.nodeplugin.resources | indent 12 }} {{- end }} @@ -155,6 +158,9 @@ spec: hostPath: path: /var/lib/kubelet/pods type: Directory + {{- with .Values.controllerplugin.volumes }} + {{- toYaml . | nindent 8 }} + {{- end }} {{- if .Values.controllerplugin.affinity }} affinity: {{ toYaml .Values.controllerplugin.affinity | nindent 8 }} {{- end }} diff --git a/charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml b/charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml index 36a09c9288..c8c9acf77c 100644 --- a/charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml +++ b/charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml @@ -87,6 +87,9 @@ spec: mountPath: /runtimeconfig readOnly: true {{- end }} + {{- with $.Values.nodeplugin.volumeMounts }} + {{- toYaml . | nindent 12 }} + {{- end }} resources: {{ toYaml $.Values.nodeplugin.nodeplugin.resources | indent 12 }} {{- end }} @@ -110,6 +113,9 @@ spec: name: manila-csi-runtimeconf-cm {{- end }} {{- end }} + {{- with .Values.nodeplugin.volumes }} + {{- toYaml . | nindent 8 }} + {{- end }} {{- if .Values.nodeplugin.affinity }} affinity: {{ toYaml .Values.nodeplugin.affinity | nindent 8 }} {{- end }} diff --git a/charts/manila-csi-plugin/values.yaml b/charts/manila-csi-plugin/values.yaml index 4907c5de62..58f7f653ba 100644 --- a/charts/manila-csi-plugin/values.yaml +++ b/charts/manila-csi-plugin/values.yaml @@ -76,6 +76,8 @@ nodeplugin: # Use fullnameOverride to fully override the name of this component # fullnameOverride: some-other-name podSecurityContext: {} + volumes: [] + volumeMounts: [] # StatefulSet deployment controllerplugin: @@ -121,6 +123,17 @@ controllerplugin: # Use fullnameOverride to fully override the name of this component # fullnameOverride: some-other-name podSecurityContext: {} + volumes: [] + # - name: cacert + # hostPath: + # path: /etc/cacert + volumeMounts: [] + # - name: cacert + # mountPath: /etc/cacert + # readOnly: true + # - name: cloud-config + # mountPath: /etc/kubernetes + # readOnly: true # Log verbosity level. # See https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/logging.md