diff --git a/chart/openfaas/templates/openfaas.com_functioningresses-crd.yaml b/chart/openfaas/templates/openfaas.com_functioningresses-crd.yaml index 87364bcb4..94202ea2d 100644 --- a/chart/openfaas/templates/openfaas.com_functioningresses-crd.yaml +++ b/chart/openfaas/templates/openfaas.com_functioningresses-crd.yaml @@ -1,4 +1,5 @@ {{- if .Values.createCRDs }} +{{- if .Values.ingressOperator.create }} apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition @@ -165,4 +166,5 @@ spec: subresources: {} +{{- end }} {{- end }} \ No newline at end of file