From 58e7588ce750180f3830d240bfe9e86ccaae0942 Mon Sep 17 00:00:00 2001 From: vardhaman22 Date: Tue, 22 Oct 2024 17:52:25 +0530 Subject: [PATCH] delete validate-install-crd.yaml file --- chart/templates/validate-install-crd.yaml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 chart/templates/validate-install-crd.yaml diff --git a/chart/templates/validate-install-crd.yaml b/chart/templates/validate-install-crd.yaml deleted file mode 100644 index 3593e66f..00000000 --- a/chart/templates/validate-install-crd.yaml +++ /dev/null @@ -1,17 +0,0 @@ -#{{- if gt (len (lookup "rbac.authorization.k8s.io/v1" "ClusterRole" "" "")) 0 -}} -# {{- $found := dict -}} -# {{- set $found "cis.cattle.io/v1/ClusterScan" false -}} -# {{- set $found "cis.cattle.io/v1/ClusterScanBenchmark" false -}} -# {{- set $found "cis.cattle.io/v1/ClusterScanProfile" false -}} -# {{- set $found "cis.cattle.io/v1/ClusterScanReport" 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 -}}