-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FATAL an application with the same name and a different base already exists, consider choosing a different name #470
Comments
I think this happens when you have I'm also struggling with the same issue. The documentation about this project poor and skips a lot of details and too hard to follow for new gitops user who does not have much knowledge about argocd. @noam-codefresh Is it mandatory to keep your application yaml files somewhere else other than My file structure is
I create And I get the error.
@noam-codefresh @danielm-codefresh Can somebody please help me understand whats I'm doing wrong? |
Found a solution. if you create a file {
"appName": "app1",
"userGivenName": "app1",
"destNamespace": "test",
"destServer": "https://kubernetes.default.svc",
"srcPath": "apps/app1/overlays/dev",
"srcRepoURL": "https://github.com/example/example.git",
"srcTargetRevision": "",
"labels": null,
"annotations": null
} it will automatically create the app. You don't even need to run Basically this is dictated by the ApplicationSet created when you create a project. You can look at I understood the usage of |
@neeraj-ec I think u just need to keep your base app manifests outside gitops repository (e.g in app repository), but after u @noam-codefresh am I right with that? |
That is one way of doing it. But I want to keep all my manifests files in a single |
Hi there!
I am trying to create the same app for different projects (environments)
argocd-autopilot application create frontend --app http://192.168.0.78:8080/root/machairodus-new/web/kustomize/envs/dev?ref=1.5 --project dev--dest-namespace dev
argocd-autopilot application create frontend --app http://192.168.0.78:8080/root/machairodus-new/web/kustomize/envs/test?ref=1.5 --project test --dest-namespace test
In result I have an error:
How should I specify different kustomize manifests for different envs? Is there any working example to achieve that with
argocd-autopilot
The text was updated successfully, but these errors were encountered: