From 227eac2a777f622597bc17c8170ddc3bca0e17fd Mon Sep 17 00:00:00 2001 From: josebb Date: Fri, 20 May 2022 16:41:56 +0300 Subject: [PATCH] Add SYS_ADMIN cap in cinder-volume container in default Retyping volume with on-deman migration policy requires SYS_ADMIN cap in c-vol Change-Id: Ie002de788926879c7fd02b6213762a40da2b30ac --- cinder/Chart.yaml | 2 +- cinder/values.yaml | 3 +++ releasenotes/notes/cinder.yaml | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cinder/Chart.yaml b/cinder/Chart.yaml index c7a79aa791..c5f47adcbe 100644 --- a/cinder/Chart.yaml +++ b/cinder/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Cinder name: cinder -version: 0.2.28 +version: 0.2.29 home: https://docs.openstack.org/cinder/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Cinder/OpenStack_Project_Cinder_vertical.png sources: diff --git a/cinder/values.yaml b/cinder/values.yaml index 6c5d7014fe..3acdadd40a 100644 --- a/cinder/values.yaml +++ b/cinder/values.yaml @@ -140,6 +140,9 @@ pod: runAsUser: 0 readOnlyRootFilesystem: true cinder_volume: + capabilities: + add: + - SYS_ADMIN readOnlyRootFilesystem: true storage_init: pod: diff --git a/releasenotes/notes/cinder.yaml b/releasenotes/notes/cinder.yaml index 0ea3470a64..41f2202c03 100644 --- a/releasenotes/notes/cinder.yaml +++ b/releasenotes/notes/cinder.yaml @@ -45,4 +45,5 @@ cinder: - 0.2.26 Distinguish between port number of internal endpoint and binding port number - 0.2.27 Support TLS endpoints - 0.2.28 Use HTTP probe instead of TCP probe + - 0.2.29 Add SYS_ADMIN capability in cinder-volume ...