Skip to content

Commit

Permalink
Remove duplicate pod RBAC
Browse files Browse the repository at this point in the history
The  RBAC for pods duplicates the get permission, as it's granted *
elsewhere.

This was recently modified in #2225, #2214, and #2008.

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
  • Loading branch information
dfarrell07 authored and sridhargaddam committed Dec 17, 2022
1 parent d69e812 commit 216615f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 48 deletions.
6 changes: 0 additions & 6 deletions config/rbac/submariner-gateway/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ rules:
- deployments/finalizers
verbs:
- update
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- apiGroups:
- apps
resources:
Expand Down
6 changes: 0 additions & 6 deletions config/rbac/submariner-globalnet/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ rules:
- deployments/finalizers
verbs:
- update
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- apiGroups:
- apps
resources:
Expand Down
6 changes: 0 additions & 6 deletions config/rbac/submariner-operator/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ rules:
- deployments/finalizers
verbs:
- update
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- apiGroups:
- apps
resources:
Expand Down
6 changes: 0 additions & 6 deletions config/rbac/submariner-route-agent/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ rules:
- deployments/finalizers
verbs:
- update
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- apiGroups:
- apps
resources:
Expand Down
24 changes: 0 additions & 24 deletions pkg/embeddedyamls/yamls.go
Original file line number Diff line number Diff line change
Expand Up @@ -2102,12 +2102,6 @@ rules:
- deployments/finalizers
verbs:
- update
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- apiGroups:
- apps
resources:
Expand Down Expand Up @@ -2295,12 +2289,6 @@ rules:
- deployments/finalizers
verbs:
- update
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- apiGroups:
- apps
resources:
Expand Down Expand Up @@ -2489,12 +2477,6 @@ rules:
- deployments/finalizers
verbs:
- update
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- apiGroups:
- apps
resources:
Expand Down Expand Up @@ -2672,12 +2654,6 @@ rules:
- deployments/finalizers
verbs:
- update
- apiGroups:
- ""
resources:
- pods
verbs:
- get
- apiGroups:
- apps
resources:
Expand Down

0 comments on commit 216615f

Please sign in to comment.