We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ce01e4 + 21bf964 commit 22b747aCopy full SHA for 22b747a
config/rbac/kustomization.yaml
@@ -1,3 +1,6 @@
1
+apiVersion: kustomize.config.k8s.io/v1beta1
2
+kind: Kustomization
3
+
4
resources:
5
- role.yaml
6
- role_binding.yaml
@@ -11,3 +14,22 @@ resources:
11
14
- auth_proxy_role_binding.yaml
12
15
- auth_proxy_client_clusterrole.yaml
13
16
17
+# needed for nfd-worker
18
+# this patch is needed given that
19
+# +kubebuilder does not allow resourceNames
20
+patchesJSON6902:
21
+- target:
22
+ kind: ClusterRole
23
+ name: manager-role
24
+ patch: |-
25
+ - op: add
26
+ path: /rules/0
27
+ value:
28
+ apiGroups:
29
+ - policy
30
+ resources:
31
+ - podsecuritypolicies
32
+ verbs:
33
+ - use
34
+ resourceNames:
35
+ - nfd-worker
0 commit comments