Install applicationset crd always

ApplicationSet is required by argocd-server, cannot be "opt-out".

If ApplicationSet CRD is not installed, we see lot of errors:

```
W0507 19:44:33.469804 7 reflector.go:424] pkg/mod/k8s.io/client-go@v0.26.11/tools/cache/reflector.go:169: failed to list *v1alpha1.ApplicationSet: the server could not find the requested resource (get applicationsets.argoproj.io)
E0507 19:44:33.469828 7 reflector.go:140] pkg/mod/k8s.io/client-go@v0.26.11/tools/cache/reflector.go:169: Failed to watch *v1alpha1.ApplicationSet: failed to list *v1alpha1.ApplicationSet: the server could not find the requested resource (get applicationsets.argoproj.io)
```

Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
This commit is contained in:
Thomas Decaux 2024-05-07 16:29:54 -04:00 committed by GitHub
parent 0882bfcbd6
commit 3c162a6b93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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