Skip to content

Commit

Permalink
delete empty ClusterRole/Binding for imagejob pods
Browse files Browse the repository at this point in the history
Signed-off-by: ashnamehrotra <[email protected]>
  • Loading branch information
ashnamehrotra committed Jan 31, 2024
1 parent 1d3f27d commit 6ce80bf
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 65 deletions.
5 changes: 0 additions & 5 deletions config/rbac/imagejob_pods_cluster_role.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions config/rbac/imagejob_pods_cluster_role_binding.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions config/rbac/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ resources:
- service_account.yaml
- role.yaml
- role_binding.yaml
- imagejob_pods_cluster_role.yaml
- imagejob_pods_service.yaml
- imagejob_pods_cluster_role_binding.yaml
- cluster_role_binding.yaml
# Comment the following 4 lines if you want to disable
# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
Expand Down

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions manifest_staging/deploy/eraser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -335,12 +335,6 @@ rules:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: eraser-imagejob-pods-cluster-role
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: eraser-manager-role
rules:
Expand Down Expand Up @@ -409,19 +403,6 @@ subjects:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: eraser-imagejob-pods-cluster-rolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: eraser-imagejob-pods-cluster-role
subjects:
- kind: ServiceAccount
name: eraser-imagejob-pods
namespace: eraser-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: eraser-manager-rolebinding
roleRef:
Expand Down

0 comments on commit 6ce80bf

Please sign in to comment.