Skip to content

Commit

Permalink
update permission for containerstorage module (#602)
Browse files Browse the repository at this point in the history
  • Loading branch information
chimanjain authored Jun 20, 2024
1 parent 835da4a commit 014e28a
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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"]
Expand Down Expand Up @@ -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"]
Expand All @@ -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"]
Expand Down Expand Up @@ -307,7 +307,7 @@ spec:
- name: kubernetes-proxy
image: "<KUBERNETES_PROXY_IMAGE>"
imagePullPolicy: IfNotPresent
command: [ "kubectl" ]
command: ["kubectl"]
args:
- "proxy"
- "--port=8001"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 014e28a

Please sign in to comment.