You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could someone help with the argo cd setup, maybe some examples on how do you setup ArgoCD with Kustomize?
I'm trying to use the example that is located on ArgoCD's website -> link.
But there are some issues that I'm not able to jump over.
I'm running the following code as value for extra_kustomize_deployment_commands variable:
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): Connected!
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): Deploying manifests from /var/user_kustomize/:
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): total 12K
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): drwxr-xr-x. 1 root root 164 Oct 26 09:48 .
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): drwxr-xr-x. 1 root root 142 Oct 26 09:12 ..
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): -rw-r--r--. 1 root root 176 Oct 26 09:12 argo-application.yaml
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): -rw-r--r--. 1 root root 176 Oct 26 09:48 argocd-application.yaml
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): -rw-r--r--. 1 root root 0 Oct 26 09:48 argocd-projects.yaml
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): -rw-r--r--. 1 root root 103 Oct 26 11:53 kustomization.yaml
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): error: accumulating resources: accumulation err='accumulating resources from 'argocd-application.yaml': missing metadata.name in object {{kustomize.config.k8s.io/v1beta1 Kustomization} {{ } map[] map[]}}': must build at directory: '/var/user_kustomize/argocd-application.yaml': file is not directory
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): error: no objects passed to apply
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "appprojects.argoproj.io" not found
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "applications.argoproj.io" not found
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): error: resource mapping not found for name: "" namespace: "" from "/var/user_kustomize/argocd-application.yaml": no matches for kind "Kustomization" in version "kustomize.config.k8s.io/v1beta1"
module.kube-hetzner.null_resource.kustomization_user_deploy[0] (remote-exec): ensure CRDs are installed first
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys,
Could someone help with the argo cd setup, maybe some examples on how do you setup ArgoCD with Kustomize?
I'm trying to use the example that is located on ArgoCD's website -> link.
But there are some issues that I'm not able to jump over.
I'm running the following code as value for
extra_kustomize_deployment_commands
variable:The argocd-application.yaml file is coming from
argocd-application.yaml.tpl
>I'm getting the following error:
Beta Was this translation helpful? Give feedback.
All reactions