From 014e28a5d6a02d86ffcc9b6b277fe7de2d24e0fc Mon Sep 17 00:00:00 2001 From: Chiman Jain <36687396+chimanjain@users.noreply.github.com> Date: Thu, 20 Jun 2024 15:26:37 +0530 Subject: [PATCH] update permission for containerstorage module (#602) --- .../apexconnectivityclient/v1.0.0/statefulset.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/operatorconfig/clientconfig/apexconnectivityclient/v1.0.0/statefulset.yaml b/operatorconfig/clientconfig/apexconnectivityclient/v1.0.0/statefulset.yaml index 632dfc45e..f62f5d36b 100644 --- a/operatorconfig/clientconfig/apexconnectivityclient/v1.0.0/statefulset.yaml +++ b/operatorconfig/clientconfig/apexconnectivityclient/v1.0.0/statefulset.yaml @@ -59,7 +59,7 @@ rules: verbs: ["list", "watch", "get"] - apiGroups: ["storage.dell.com"] resources: ["containerstoragemodules"] - verbs: ["list", "get", "watch"] + verbs: ["list", "get", "watch", "update"] - apiGroups: ["mobility.storage.dell.com"] resources: ["backups"] verbs: ["list", "get"] @@ -86,7 +86,7 @@ metadata: rules: - apiGroups: [""] resources: ["secrets"] - verbs: ["list","get", "create", "update", "delete", "watch"] + verbs: ["list", "get", "create", "update", "delete", "watch"] - apiGroups: [""] resources: ["configmaps"] verbs: ["get", "create", "delete", "update"] @@ -137,7 +137,7 @@ metadata: rules: - apiGroups: [""] resources: ["secrets"] - verbs: ["list","get", "create", "update", "delete", "watch"] + verbs: ["list", "get", "create", "update", "delete", "watch"] - apiGroups: [""] resources: ["configmaps"] verbs: ["get", "create", "delete", "update"] @@ -164,7 +164,7 @@ metadata: rules: - apiGroups: [""] resources: ["secrets"] - verbs: ["list","get", "create", "update", "delete","watch"] + verbs: ["list", "get", "create", "update", "delete", "watch"] - apiGroups: ["storage.dell.com"] resources: ["containerstoragemodules"] verbs: ["create", "delete"] @@ -307,7 +307,7 @@ spec: - name: kubernetes-proxy image: "" imagePullPolicy: IfNotPresent - command: [ "kubectl" ] + command: ["kubectl"] args: - "proxy" - "--port=8001" @@ -352,7 +352,7 @@ spec: configMapKeyRef: name: connectivity-client-docker-k8s-configmap key: DCM_IDENTITY_LOCATION - command: ['sh', '-x', '-c', "if [ -s /dcm-client-secret-data/cert.pem ]; then cp -v /dcm-client-secret-data/cert.pem $DCM_IDENTITY_LOCATION/cert.pem; fi"] + command: ["sh", "-x", "-c", "if [ -s /dcm-client-secret-data/cert.pem ]; then cp -v /dcm-client-secret-data/cert.pem $DCM_IDENTITY_LOCATION/cert.pem; fi"] volumeMounts: - name: certs-store-tmpdir mountPath: "/home/connectivity-client/.certs"