Skip to content

Commit 269365e

Browse files
committed
Configure CVO to delete default-account role binding
Adds default-account-cluster-network-operator back to the Cluster Version Operator (CVO) manifests with fixed annotations so that it will be deleted properly. Signed-off-by: Clark Uthayakumar <[email protected]>
1 parent 746b8fb commit 269365e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

manifests/0000_70_cluster-network-operator_02_rbac.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,21 @@ roleRef:
2424
kind: ClusterRole
2525
name: cluster-admin
2626
apiGroup: rbac.authorization.k8s.io
27+
---
28+
kind: ClusterRoleBinding
29+
apiVersion: rbac.authorization.k8s.io/v1
30+
metadata:
31+
name: default-account-cluster-network-operator
32+
annotations:
33+
release.openshift.io/delete: "true"
34+
include.release.openshift.io/self-managed-high-availability: "true"
35+
include.release.openshift.io/ibm-cloud-managed: "true"
36+
include.release.openshift.io/single-node-developer: "true"
37+
subjects:
38+
- kind: ServiceAccount
39+
name: default
40+
namespace: openshift-network-operator
41+
roleRef:
42+
kind: ClusterRole
43+
name: cluster-admin
44+
apiGroup: rbac.authorization.k8s.io

0 commit comments

Comments
 (0)