diff --git a/class/defaults.yml b/class/defaults.yml index 1883939..549bc10 100644 --- a/class/defaults.yml +++ b/class/defaults.yml @@ -111,6 +111,12 @@ parameters: resources: [pods] verbs: - get + - apiGroups: + - metrics.k8s.io + resources: + - pods + verbs: + - get monitoring-edit-probe: rules: - apiGroups: ['monitoring.coreos.com'] diff --git a/tests/golden/defaults/appuio-cloud/appuio-cloud/10_additional_clusterroles.yaml b/tests/golden/defaults/appuio-cloud/appuio-cloud/10_additional_clusterroles.yaml index 2fc72ac..6d8e95a 100644 --- a/tests/golden/defaults/appuio-cloud/appuio-cloud/10_additional_clusterroles.yaml +++ b/tests/golden/defaults/appuio-cloud/appuio-cloud/10_additional_clusterroles.yaml @@ -15,6 +15,12 @@ rules: - pods verbs: - get + - apiGroups: + - metrics.k8s.io + resources: + - pods + verbs: + - get --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole