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
Root kustomization.yaml has single line: resources: [ metrics/grafana/ ] which points to the nested metrics/grafana/ kustomize directory. I can successfully apply this project with kubectl apply -k base/.
But when i try to import the same git project into ArgoCD, I get the following error:
Unable to create application: error while validating and normalizing app: error validating the repo: error verifying source type: multiple application sources defined: Kustomize,Directory
To Reproduce
Go to argocd web interface, click "New App"
In this app creation dialog, fill this source git repo: https://github.com/Fak3/elect_hotline_deploy.git and source path base.
Click "Create"
Result: error
Expected behavior
I expect argocd to create new app, with specified manifests, just like kubectl apply -k does.
In the repository https://github.com/Fak3/elect_hotline_deploy, my project has following structure:
Root
kustomization.yaml
has single line:resources: [ metrics/grafana/ ]
which points to the nestedmetrics/grafana/
kustomize directory. I can successfully apply this project withkubectl apply -k base/
.But when i try to import the same git project into ArgoCD, I get the following error:
To Reproduce
https://github.com/Fak3/elect_hotline_deploy.git
and source pathbase
.Result: error
Expected behavior
I expect argocd to create new app, with specified manifests, just like
kubectl apply -k
does.Version
The text was updated successfully, but these errors were encountered: