rke2-charts/packages/rke2-metrics-server/generated-changes/patch/templates/cluster-role.yaml.patch

31 lines
528 B
Diff

--- charts-original/templates/cluster-role.yaml
+++ charts/templates/cluster-role.yaml
@@ -12,14 +12,20 @@
- apiGroups:
- ""
resources:
- - pods
- - nodes
- - nodes/stats
- - namespaces
+ - nodes/metrics
verbs:
- - get
- - list
- - watch
+ - get
+ - apiGroups:
+ - ""
+ resources:
+ - pods
+ - nodes
+ - nodes/stats
+ - namespaces
+ verbs:
+ - get
+ - list
+ - watch
{{- if .Values.rbac.pspEnabled }}
- apiGroups:
- extensions