Skip to content

Commit

Permalink
Merge pull request #156 from qinqon/kustomize-isolated-remove-nodes-rbac
Browse files Browse the repository at this point in the history
kustomize, isolated: Remove nodes RBAC
  • Loading branch information
kubevirt-bot authored Sep 19, 2022
2 parents 3dfa1f3 + 3bf72f2 commit 0123ddc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions config/isolated/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ patches:
value: --authentication-skip-lookup=true
target:
kind: Deployment
- patch: |-
- op: remove
path: /rules/4
target:
kind: Role
name: kccm
namespace: default

patchesStrategicMerge:
- |-
Expand Down
4 changes: 3 additions & 1 deletion config/rbac/kccm_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ rules:
resources:
- pods
verbs:
- "*"
- get
- list
- watch
- apiGroups:
- ""
resources:
Expand Down

0 comments on commit 0123ddc

Please sign in to comment.