Skip to content

Commit e085b76

Browse files
author
openyurt-bot
committed
align with openyurt helm charts from commit 8fc400ba48f8161024d58a30ac29e6d8ed993987
1 parent a1dd855 commit e085b76

File tree

1 file changed

+43
-2
lines changed

1 file changed

+43
-2
lines changed

charts/yurt-manager/templates/yurt-manager-auto-generated.yaml

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ metadata:
5656
---
5757
apiVersion: v1
5858
kind: ServiceAccount
59+
metadata:
60+
name: yurt-manager-hubleaderconfig-controller
61+
namespace: {{ .Release.Namespace }}
62+
---
63+
apiVersion: v1
64+
kind: ServiceAccount
5965
metadata:
6066
name: yurt-manager-load-balancer-set-controller
6167
namespace: {{ .Release.Namespace }}
@@ -476,12 +482,34 @@ rules:
476482
- apiGroups:
477483
- apps.openyurt.io
478484
resources:
479-
- nodepool
480-
- nodepool/status
485+
- nodepools
486+
- nodepools/status
487+
verbs:
488+
- get
489+
- patch
490+
- update
491+
---
492+
apiVersion: rbac.authorization.k8s.io/v1
493+
kind: ClusterRole
494+
metadata:
495+
name: yurt-manager-hubleaderconfig-controller
496+
rules:
497+
- apiGroups:
498+
- ""
499+
resources:
500+
- configmaps
481501
verbs:
502+
- create
482503
- get
483504
- patch
484505
- update
506+
- apiGroups:
507+
- apps.openyurt.io
508+
resources:
509+
- nodepools
510+
- nodepools/status
511+
verbs:
512+
- get
485513
---
486514
apiVersion: rbac.authorization.k8s.io/v1
487515
kind: ClusterRole
@@ -1042,6 +1070,19 @@ subjects:
10421070
---
10431071
apiVersion: rbac.authorization.k8s.io/v1
10441072
kind: ClusterRoleBinding
1073+
metadata:
1074+
name: yurt-manager-hubleaderconfig-controller-binding
1075+
roleRef:
1076+
apiGroup: rbac.authorization.k8s.io
1077+
kind: ClusterRole
1078+
name: yurt-manager-hubleaderconfig-controller
1079+
subjects:
1080+
- kind: ServiceAccount
1081+
name: yurt-manager-hubleaderconfig-controller
1082+
namespace: {{ .Release.Namespace }}
1083+
---
1084+
apiVersion: rbac.authorization.k8s.io/v1
1085+
kind: ClusterRoleBinding
10451086
metadata:
10461087
name: yurt-manager-load-balancer-set-controller-binding
10471088
roleRef:

0 commit comments

Comments
 (0)