File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
charts/gitops-runtime/templates/_components/gitops-operator/rbac Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -47,4 +47,34 @@ rules:
47
47
- restrictedgitsources/status
48
48
verbs :
49
49
- get
50
+ ---
51
+ apiVersion : rbac.authorization.k8s.io/v1
52
+ kind : ClusterRoleBinding
53
+ metadata :
54
+ labels :
55
+ {{- include "gitops-operator.selectorLabels" . | nindent 4 }}
56
+ name : restrictedgitsource-editor
57
+ roleRef :
58
+ apiGroup : rbac.authorization.k8s.io
59
+ kind : ClusterRole
60
+ name : restrictedgitsource-editor
61
+ subjects :
62
+ - kind : ServiceAccount
63
+ name : {{ include "gitops-operator.serviceAccountName" . }}
64
+ namespace : {{ .Release.Namespace }}
65
+ ---
66
+ apiVersion : rbac.authorization.k8s.io/v1
67
+ kind : ClusterRoleBinding
68
+ metadata :
69
+ labels :
70
+ {{- include "gitops-operator.selectorLabels" . | nindent 4 }}
71
+ name : restrictedgitsource-viewer
72
+ roleRef :
73
+ apiGroup : rbac.authorization.k8s.io
74
+ kind : ClusterRole
75
+ name : restrictedgitsource-viewer
76
+ subjects :
77
+ - kind : ServiceAccount
78
+ name : {{ include "gitops-operator.serviceAccountName" . }}
79
+ namespace : {{ .Release.Namespace }}
50
80
{{- end }}
You can’t perform that action at this time.
0 commit comments