From ebd92ddea0e7cbf863171d02ffb8f1af52316b9b Mon Sep 17 00:00:00 2001 From: Geet Samra Date: Thu, 22 Dec 2022 15:48:35 -0800 Subject: [PATCH] fixing error in node-exporter --- .../patch/templates/psp-clusterrole.yaml.patch | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 packages/rancher-monitoring/rancher-node-exporter/generated-changes/patch/templates/psp-clusterrole.yaml.patch diff --git a/packages/rancher-monitoring/rancher-node-exporter/generated-changes/patch/templates/psp-clusterrole.yaml.patch b/packages/rancher-monitoring/rancher-node-exporter/generated-changes/patch/templates/psp-clusterrole.yaml.patch deleted file mode 100644 index 9cd4e258c..000000000 --- a/packages/rancher-monitoring/rancher-node-exporter/generated-changes/patch/templates/psp-clusterrole.yaml.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- charts-original/templates/psp-clusterrole.yaml -+++ charts/templates/psp-clusterrole.yaml -@@ -6,10 +6,12 @@ - name: psp-{{ template "prometheus-node-exporter.fullname" . }} - labels: {{ include "prometheus-node-exporter.labels" . | indent 4 }} - rules: -+{{- if .Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicies" }} - - apiGroups: ['extensions'] - resources: ['podsecuritypolicies'] - verbs: ['use'] - resourceNames: -+{{- end }} - - {{ template "prometheus-node-exporter.fullname" . }} - {{- end }} - {{- end }}