File tree Expand file tree Collapse file tree 1 file changed +43
-2
lines changed
charts/yurt-manager/templates Expand file tree Collapse file tree 1 file changed +43
-2
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,12 @@ metadata:
5656---
5757apiVersion : v1
5858kind : ServiceAccount
59+ metadata :
60+ name : yurt-manager-hubleaderconfig-controller
61+ namespace : {{ .Release.Namespace }}
62+ ---
63+ apiVersion : v1
64+ kind : ServiceAccount
5965metadata :
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---
486514apiVersion : rbac.authorization.k8s.io/v1
487515kind : ClusterRole
@@ -1042,6 +1070,19 @@ subjects:
10421070---
10431071apiVersion : rbac.authorization.k8s.io/v1
10441072kind : 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
10451086metadata :
10461087 name : yurt-manager-load-balancer-set-controller-binding
10471088roleRef :
You can’t perform that action at this time.
0 commit comments