Skip to content

Commit

Permalink
chart: fix the bug installcrds #816
Browse files Browse the repository at this point in the history
  • Loading branch information
acekingke committed Sep 15, 2023
1 parent d170120 commit fba7cb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/mysql-operator/templates/crds.yaml
Original file line number Diff line number Diff line change
@@ -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 }}
Expand Down

0 comments on commit fba7cb7

Please sign in to comment.