Add rancher-monitoring chart 104.1.2+up57.0.3

This commit is contained in:
wbsong111
2024-12-02 11:32:46 +09:00
parent d9d95b4ce1
commit afc5469547
568 changed files with 104832 additions and 0 deletions
@@ -0,0 +1,23 @@
#{{- if gt (len (lookup "rbac.authorization.k8s.io/v1" "ClusterRole" "" "")) 0 -}}
# {{- $found := dict -}}
# {{- set $found "monitoring.coreos.com/v1alpha1/AlertmanagerConfig" false -}}
# {{- set $found "monitoring.coreos.com/v1/Alertmanager" false -}}
# {{- set $found "monitoring.coreos.com/v1/PodMonitor" false -}}
# {{- set $found "monitoring.coreos.com/v1/Probe" false -}}
# {{- set $found "monitoring.coreos.com/v1alpha1/PrometheusAgent" false -}}
# {{- set $found "monitoring.coreos.com/v1/Prometheus" false -}}
# {{- set $found "monitoring.coreos.com/v1/PrometheusRule" false -}}
# {{- set $found "monitoring.coreos.com/v1alpha1/ScrapeConfig" false -}}
# {{- set $found "monitoring.coreos.com/v1/ServiceMonitor" false -}}
# {{- set $found "monitoring.coreos.com/v1/ThanosRuler" false -}}
# {{- range .Capabilities.APIVersions -}}
# {{- if hasKey $found (toString .) -}}
# {{- set $found (toString .) true -}}
# {{- end -}}
# {{- end -}}
# {{- range $_, $exists := $found -}}
# {{- if (eq $exists false) -}}
# {{- required "Required CRDs are missing. Please install the corresponding CRD chart before installing this chart." "" -}}
# {{- end -}}
# {{- end -}}
#{{- end -}}