From 9acd995e2d5a11bd22c1d95d907b2b67eccf5abd Mon Sep 17 00:00:00 2001 From: acekingke Date: Wed, 6 Sep 2023 10:40:19 +0800 Subject: [PATCH] chart: fix the bug installcrds #816 --- charts/mysql-operator/templates/crds.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/mysql-operator/templates/crds.yaml b/charts/mysql-operator/templates/crds.yaml index df01aef5..6bc8b9ef 100644 --- a/charts/mysql-operator/templates/crds.yaml +++ b/charts/mysql-operator/templates/crds.yaml @@ -1,5 +1,5 @@ -{{- if (and .Values.installCRDs (not (.Capabilities.APIVersions.Has "mysql.radondb.com/v1alpha1"))) }} -{{- if and .Values.installCRDs -}} +{{- if (and .Values.installCRDS (not (.Capabilities.APIVersions.Has "mysql.radondb.com/v1alpha1"))) }} +{{- if and .Values.installCRDS -}} {{- range $path, $bytes := .Files.Glob "crds/*.yaml" }} --- {{ $.Files.Get $path }}