fix(argo-cd): Don't install CRDs for disabled components (#1596)

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Marco Kilchhofer 2022-10-31 00:48:09 +01:00 committed by GitHub
parent caf1f4de02
commit 02463f3009
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{{- if .Values.crds.install }}
{{- if and .Values.crds.install .Values.applicationSet.enabled }}
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:

View file

@ -1,4 +1,4 @@
{{- if .Values.crds.install }}
{{- if and .Values.crds.install .Values.server.extensions.enabled }}
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata: