-
I'm trying to install & configure ArgoCD in customize.yaml.tpl Unfortunately, when kustomize applies the ArgoCD application config, the CRDs are not available yet. kustomization.yaml.tpl: apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
metadata:
namespace: argocd
resources:
- argocd-namespace.yaml
- https://raw.githubusercontent.com/argoproj/argo-cd/v2.5.2/manifests/ha/install.yaml
- argocd-applications.yaml The first
When running The current workaround appears to be installing the CRDs first, waiting for it to be established and then applying the config in a second step like this (for sealded-secrets):
Source: kubernetes-sigs/kustomize#3502 (comment) How do I do this in terraform-hcloud-kube-hetzner? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
The |
Beta Was this translation helpful? Give feedback.
-
@captnCC If you could submit an example to the example folder, it would be awesome! |
Beta Was this translation helpful? Give feedback.
-
Thank you, I'll give it a try |
Beta Was this translation helpful? Give feedback.
The
user_kustomize
part has no logic for a staggered deployment or handling such problems.I ran into a similar problem with the cert-manager taking a few minutes to get ready. To workaround this, I deployed my additional resources via the
kubernetes
andhelm
providers for terraform which allows for staggering in the deployment