File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ rules:
56
56
- apiGroups : ["apiextensions.k8s.io"]
57
57
resources : ["customresourcedefinitions"]
58
58
verbs : ["get", "create", "update"]
59
+ - apiGroups : ["policy"]
60
+ resources : ["podsecuritypolicies"]
61
+ verbs : ["use"]
62
+ resourceNames : ["vmware-system-privileged"]
59
63
- apiGroups : ["storage.k8s.io"]
60
64
resources : ["volumeattachments/status"]
61
65
verbs : ["patch"]
@@ -128,6 +132,10 @@ metadata:
128
132
name : vsphere-csi-node-role
129
133
namespace : vmware-system-csi
130
134
rules :
135
+ - apiGroups : ["policy"]
136
+ resources : ["podsecuritypolicies"]
137
+ verbs : ["use"]
138
+ resourceNames : ["vmware-system-privileged"]
131
139
- apiGroups : [""]
132
140
resources : ["configmaps"]
133
141
verbs : ["get", "list", "watch"]
@@ -590,6 +598,7 @@ spec:
590
598
priorityClassName : system-node-critical
591
599
nodeSelector :
592
600
kubernetes.io/os : windows
601
+ serviceAccountName : vsphere-csi-node
593
602
securityContext :
594
603
windowsOptions :
595
604
hostProcess : true
You can’t perform that action at this time.
0 commit comments