Skip to content

Commit

Permalink
Merge pull request #10972 from olemarkus/automated-cherry-pick-of-#10…
Browse files Browse the repository at this point in the history
…966-origin-release-1.19

Automated cherry pick of #10966: Add explicit RBAC permissions for finalizers subresources
  • Loading branch information
k8s-ci-robot authored Mar 3, 2021
2 parents 8de4a02 + 50bd1c4 commit 618ef66
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
19 changes: 19 additions & 0 deletions upup/models/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,16 @@ rules:
- ""
resources:
- pods
- pods/finalizers
verbs:
- get
- list
- watch
- update
- delete
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
Expand Down Expand Up @@ -273,12 +283,16 @@ rules:
- cilium.io
resources:
- ciliumnetworkpolicies
- ciliumnetworkpolicies/finalizers
- ciliumnetworkpolicies/status
- ciliumclusterwidenetworkpolicies
- ciliumclusterwidenetworkpolicies/finalizers
- ciliumclusterwidenetworkpolicies/status
- ciliumendpoints
- ciliumendpoints/finalizers
- ciliumendpoints/status
- ciliumnodes
- ciliumnodes/finalizers
- ciliumnodes/status
- ciliumidentities
verbs:
Expand Down Expand Up @@ -330,14 +344,19 @@ rules:
- cilium.io
resources:
- ciliumnetworkpolicies
- ciliumnetworkpolicies/finalizers
- ciliumnetworkpolicies/status
- ciliumclusterwidenetworkpolicies
- ciliumclusterwidenetworkpolicies/finalizers
- ciliumclusterwidenetworkpolicies/status
- ciliumendpoints
- ciliumendpoints/finalizers
- ciliumendpoints/status
- ciliumnodes
- ciliumnodes/finalizers
- ciliumnodes/status
- ciliumidentities
- ciliumidentities/finalizers
- ciliumidentities/status
verbs:
- '*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
- id: k8s-1.12
kubernetesVersion: '>=1.12.0'
manifest: networking.cilium.io/k8s-1.12-v1.8.yaml
manifestHash: f3d7ec3355cdbf1157cb082e514ac431fd6d90a5
manifestHash: 442e9be711b81e0ff39f3da0330b8344ef84ac8b
name: networking.cilium.io
selector:
role.kubernetes.io/networking: "1"
Expand Down

0 comments on commit 618ef66

Please sign in to comment.