@@ -3,6 +3,35 @@ resources:
33- role_binding.yaml
44- leader_election_role.yaml
55- leader_election_role_binding.yaml
6+ - vmuser_editor_role.yaml
7+ - vmuser_viewer_role.yaml
8+ - vmauth_editor_role.yaml
9+ - vmauth_viewer_role.yaml
10+ - vmstaticscrape_editor_role.yaml
11+ - vmstaticscrape_viewer_role.yaml
12+ - vmnodescrape_editor_role.yaml
13+ - vmnodescrape_viewer_role.yaml
14+ - vmprobe_editor_role.yaml
15+ - vmprobe_viewer_role.yaml
16+ - vmcluster_editor_role.yaml
17+ - vmcluster_viewer_role.yaml
18+ - vmsingle_editor_role.yaml
19+ - vmsingle_viewer_role.yaml
20+ - vmservicescrape_editor_role.yaml
21+ - vmservicescrape_viewer_role.yaml
22+ - vmrule_editor_role.yaml
23+ - vmrule_viewer_role.yaml
24+ - vmpodscrape_editor_role.yaml
25+ - vmpodscrape_viewer_role.yaml
26+ - vmalertmanagerconfig_editor_role.yaml
27+ - vmalertmanagerconfig_viewer_role.yaml
28+ - vmalertmanager_editor_role.yaml
29+ - vmalertmanager_viewer_role.yaml
30+ - vmalert_editor_role.yaml
31+ - vmalert_viewer_role.yaml
32+ - vmagent_editor_role.yaml
33+ - vmagent_viewer_role.yaml
34+
635# Comment the following 4 lines if you want to disable
736# the auth proxy (https://github.com/brancz/kube-rbac-proxy)
837# which protects your /metrics endpoint.
@@ -20,3 +49,7 @@ patches:
2049- path : service_account_patch.yaml
2150 target :
2251 name : vm-operator-manager-rolebinding
52+ # For each CRD, "Editor" and "Viewer" roles are scaffolded by
53+ # default, aiding admins in cluster management. Those roles are
54+ # not used by the Project itself. You can comment the following lines
55+ # if you do not want those helpers be installed with your Project.
0 commit comments