Skip to content

Commit

Permalink
Adding rancher-cleanup label to all cleanup objects
Browse files Browse the repository at this point in the history
  • Loading branch information
crobby committed Aug 10, 2023
1 parent 4c98764 commit fa9979e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cleanup/ad-guid-unmigration.yaml
Expand Up @@ -3,12 +3,16 @@ kind: ServiceAccount
metadata:
name: cattle-cleanup-sa
namespace: default
labels:
rancher-cleanup: "true"
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cattle-cleanup-binding
namespace: default
labels:
rancher-cleanup: "true"
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
Expand Down Expand Up @@ -61,6 +65,8 @@ kind: ClusterRole
metadata:
name: cattle-cleanup-role
namespace: default
labels:
rancher-cleanup: "true"
rules:
- apiGroups:
- '*'
Expand Down

0 comments on commit fa9979e

Please sign in to comment.