diff --git a/charts/cinder-csi-plugin/Chart.yaml b/charts/cinder-csi-plugin/Chart.yaml index 097bd5b839..18324b07c7 100644 --- a/charts/cinder-csi-plugin/Chart.yaml +++ b/charts/cinder-csi-plugin/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: v1.32.0 description: Cinder CSI Chart for OpenStack name: openstack-cinder-csi -version: 2.33.0-alpha.1 +version: 2.33.0-alpha.2 home: https://github.com/kubernetes/cloud-provider-openstack icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png maintainers: diff --git a/charts/cinder-csi-plugin/templates/controllerplugin-deployment.yaml b/charts/cinder-csi-plugin/templates/controllerplugin-deployment.yaml index 31b36883a1..e04cd87432 100644 --- a/charts/cinder-csi-plugin/templates/controllerplugin-deployment.yaml +++ b/charts/cinder-csi-plugin/templates/controllerplugin-deployment.yaml @@ -192,7 +192,7 @@ spec: - name: CSI_ENDPOINT value: unix://csi/csi.sock - name: CLOUD_CONFIG - value: /etc/kubernetes/{{ .Values.secret.filename }} + value: /etc/config/{{ .Values.secret.filename }} - name: CLUSTER_NAME value: "{{ .Values.clusterID }}" {{- if .Values.csi.plugin.extraEnv }} @@ -233,7 +233,7 @@ spec: {{- else if .Values.secret.hostMount }} - name: cloud-config hostPath: - path: /etc/kubernetes + path: /etc/config {{- end }} {{- with .Values.csi.plugin.volumes }} {{- toYaml . | nindent 8 }} diff --git a/charts/cinder-csi-plugin/templates/nodeplugin-daemonset.yaml b/charts/cinder-csi-plugin/templates/nodeplugin-daemonset.yaml index 7c6bc73e34..1f4a13454a 100644 --- a/charts/cinder-csi-plugin/templates/nodeplugin-daemonset.yaml +++ b/charts/cinder-csi-plugin/templates/nodeplugin-daemonset.yaml @@ -105,7 +105,7 @@ spec: - name: CSI_ENDPOINT value: unix://csi/csi.sock - name: CLOUD_CONFIG - value: /etc/kubernetes/{{ .Values.secret.filename }} + value: /etc/config/{{ .Values.secret.filename }} {{- if .Values.csi.plugin.extraEnv }} {{- toYaml .Values.csi.plugin.extraEnv | nindent 12 }} {{- end }} @@ -163,7 +163,7 @@ spec: {{- else if .Values.secret.hostMount }} - name: cloud-config hostPath: - path: /etc/kubernetes + path: /etc/config {{- end }} {{- with .Values.csi.plugin.volumes }} {{- toYaml . | nindent 8 }} diff --git a/charts/cinder-csi-plugin/values.yaml b/charts/cinder-csi-plugin/values.yaml index af892c520d..751b5ff886 100644 --- a/charts/cinder-csi-plugin/values.yaml +++ b/charts/cinder-csi-plugin/values.yaml @@ -86,7 +86,7 @@ csi: mountPath: /etc/cacert readOnly: true - name: cloud-config - mountPath: /etc/kubernetes + mountPath: /etc/config readOnly: true nodePlugin: dnsPolicy: ClusterFirstWithHostNet