Add rancher-monitoring-crd chart 104.1.2+up57.0.3

This commit is contained in:
wbsong111
2024-12-02 11:45:23 +09:00
parent afc5469547
commit ac99c773e1
9 changed files with 274 additions and 0 deletions
@@ -0,0 +1,7 @@
#{{- if gt (len (lookup "rbac.authorization.k8s.io/v1" "ClusterRole" "" "")) 0 -}}
#{{- if .Values.global.cattle.psp.enabled }}
#{{- if not (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }}
#{{- fail "The target cluster does not have the PodSecurityPolicy API resource. Please disable PSPs in this chart before proceeding." -}}
#{{- end }}
#{{- end }}
#{{- end }}