diff --git a/charts/manila-csi-plugin/Chart.yaml b/charts/manila-csi-plugin/Chart.yaml index 91b2c56185..c01d2714e7 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.1 +version: 2.33.0-alpha.2 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 10bf168417..e25bad19fd 100644 --- a/charts/manila-csi-plugin/templates/controllerplugin-statefulset.yaml +++ b/charts/manila-csi-plugin/templates/controllerplugin-statefulset.yaml @@ -16,6 +16,7 @@ spec: labels: {{- include "openstack-manila-csi.controllerplugin.labels" . | nindent 8 }} spec: + securityContext: {{ toYaml .Values.controllerplugin.podSecurityContext | nindent 8 }} serviceAccountName: {{ include "openstack-manila-csi.serviceAccountName.controllerplugin" . }} containers: {{- range .Values.shareProtocols }} diff --git a/charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml b/charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml index 58e2944abe..36a09c9288 100644 --- a/charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml +++ b/charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml @@ -14,6 +14,7 @@ spec: labels: {{- include "openstack-manila-csi.nodeplugin.labels" . | nindent 8 }} spec: + securityContext: {{ toYaml .Values.nodeplugin.podSecurityContext | nindent 8 }} serviceAccountName: {{ include "openstack-manila-csi.serviceAccountName.nodeplugin" . }} hostNetwork: true dnsPolicy: ClusterFirstWithHostNet diff --git a/charts/manila-csi-plugin/values.yaml b/charts/manila-csi-plugin/values.yaml index 8a9b0456ae..4907c5de62 100644 --- a/charts/manila-csi-plugin/values.yaml +++ b/charts/manila-csi-plugin/values.yaml @@ -75,6 +75,7 @@ nodeplugin: priorityClassName: "" # Use fullnameOverride to fully override the name of this component # fullnameOverride: some-other-name + podSecurityContext: {} # StatefulSet deployment controllerplugin: @@ -119,6 +120,7 @@ controllerplugin: # - "keystone.hostname.com" # Use fullnameOverride to fully override the name of this component # fullnameOverride: some-other-name + podSecurityContext: {} # Log verbosity level. # See https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/logging.md