From 4bc2dddbfc6ddabd207bb27766cc583a102d3be3 Mon Sep 17 00:00:00 2001 From: cdikonim Date: Wed, 15 Jan 2025 12:02:36 +0100 Subject: [PATCH 1/4] Add podSecurityContext --- .../templates/controllerplugin-statefulset.yaml | 1 + charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml | 1 + charts/manila-csi-plugin/values.yaml | 2 ++ 3 files changed, 4 insertions(+) diff --git a/charts/manila-csi-plugin/templates/controllerplugin-statefulset.yaml b/charts/manila-csi-plugin/templates/controllerplugin-statefulset.yaml index e9263739e4..fffe952bc8 100644 --- a/charts/manila-csi-plugin/templates/controllerplugin-statefulset.yaml +++ b/charts/manila-csi-plugin/templates/controllerplugin-statefulset.yaml @@ -15,6 +15,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 aa173cc53f..96b18c77a7 100644 --- a/charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml +++ b/charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml @@ -13,6 +13,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 From 6b04c1bb116c7b6fec3fa3dde479982b41307957 Mon Sep 17 00:00:00 2001 From: cdikonim Date: Wed, 15 Jan 2025 15:08:35 +0100 Subject: [PATCH 2/4] version bump --- charts/manila-csi-plugin/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/manila-csi-plugin/Chart.yaml b/charts/manila-csi-plugin/Chart.yaml index db05a225f6..6b8c247735 100644 --- a/charts/manila-csi-plugin/Chart.yaml +++ b/charts/manila-csi-plugin/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: v1.31.2 description: Manila CSI Chart for OpenStack name: openstack-manila-csi -version: 2.31.4 +version: 2.31.5 home: http://github.com/kubernetes/cloud-provider-openstack icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png maintainers: From dcddc144da20c665b6ca94c0b0e614888baa20fc Mon Sep 17 00:00:00 2001 From: cdikonim Date: Tue, 11 Feb 2025 14:39:14 +0100 Subject: [PATCH 3/4] dump version --- charts/manila-csi-plugin/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/manila-csi-plugin/Chart.yaml b/charts/manila-csi-plugin/Chart.yaml index 6b8c247735..36ea5e6e8e 100644 --- a/charts/manila-csi-plugin/Chart.yaml +++ b/charts/manila-csi-plugin/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: v1.31.2 description: Manila CSI Chart for OpenStack name: openstack-manila-csi -version: 2.31.5 +version: 2.32.0-alpha.1 home: http://github.com/kubernetes/cloud-provider-openstack icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png maintainers: From bc06f2af93ad6c37a5a61689ef59cf55fcb1f228 Mon Sep 17 00:00:00 2001 From: cdikonim Date: Thu, 15 May 2025 14:48:32 +0200 Subject: [PATCH 4/4] update version --- charts/manila-csi-plugin/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: