This commit is contained in:
Kjeld Schouten
2024-02-26 20:32:16 +01:00
parent 70030a76df
commit acf668dc02

View File

@@ -3,7 +3,7 @@
{{- $missing := .missing | default (printf "Missing CRDs for %s" $crd) -}}
{{- $rootCtx := .rootCtx -}}
{{- if $rootCtx.crd.verify.enabled -}}
{{- if $rootCtx.Values.crd.verify.enabled -}}
{{- $lookupMiddlewares := (lookup "apiextensions.k8s.io/v1" "CustomResourceDefinition" "" $crd) -}}
{{/* If there are items, re-assign the variable */}}
{{- if $lookupMiddlewares -}}