Skip to content
This repository was archived by the owner on Oct 10, 2023. It is now read-only.

Commit 0c96340

Browse files
committed
apply ordering to RBAC resources in FeatureGates package
Signed-off-by: Harish Yayi <yharish991@gmail.com>
1 parent 2357299 commit 0c96340

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/kbld-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,3 @@ overrides:
5454
newImage: ""
5555
- image: tanzu-cli-plugins/secret-windows-amd64:latest
5656
newImage: ""
57-

packages/management/featuregates/bundle/config/upstream/rbac.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@ kind: ServiceAccount
33
metadata:
44
labels:
55
app: tanzu-featuregates-manager
6+
annotations:
7+
kapp.k14s.io/change-group: "featuregates.config.tanzu.vmware.com/serviceaccount"
68
name: tanzu-featuregates-manager-sa
79
namespace: tkg-system
810
---
911
apiVersion: rbac.authorization.k8s.io/v1
1012
kind: ClusterRole
1113
metadata:
14+
annotations:
15+
kapp.k14s.io/change-group: "featuregates.config.tanzu.vmware.com/serviceaccount"
1216
name: tanzu-featuregates-manager-clusterrole
1317
rules:
1418
- apiGroups:
@@ -59,6 +63,8 @@ rules:
5963
apiVersion: rbac.authorization.k8s.io/v1
6064
kind: ClusterRoleBinding
6165
metadata:
66+
annotations:
67+
kapp.k14s.io/change-rule: "upsert after upserting featuregates.config.tanzu.vmware.com/serviceaccount"
6268
name: tanzu-featuregates-manager-clusterrolebinding
6369
roleRef:
6470
apiGroup: rbac.authorization.k8s.io

0 commit comments

Comments
 (0)