mirror of https://git.rancher.io/rke2-charts
31 lines
528 B
Diff
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
|