From aa2e33fdca200ccb89f85c7c029b6ee7113b1209 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Mon, 13 May 2024 10:32:44 +0100 Subject: [PATCH] Create functioningresses CRD conditionally Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- .../openfaas/templates/openfaas.com_functioningresses-crd.yaml | 2 ++ 1 file changed, 2 insertions(+) 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