-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.yaml
24 lines (23 loc) · 973 Bytes
/
plugin.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Plugin Definition below. This is essentially a valid helm values file that will be merged
# with the other vcluster values during vcluster create or helm install.
plugins:
prometheus-operator-resources:
# Use release tag instead of main for stable revision - for example v0.2.0
image: ghcr.io/codefresh-contrib/vcluster-prometheus-operator-plugin:v0.2.0
imagePullPolicy: IfNotPresent
rbac:
role:
extraRules:
- apiGroups: ["monitoring.coreos.com"]
resources: ["servicemonitors","podmonitors"]
verbs: ["create", "delete", "patch", "update", "get", "list", "watch"]
clusterRole:
extraRules:
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch"]
# Make sure the cluster role is enabled or otherwise the plugin won't be able to watch custom
# resource definitions.
rbac:
clusterRole:
enabled: true