Skip to content
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

ArgoCD can't create namespace automatically on cluster #10411

Closed
2 tasks done
ghost opened this issue Aug 21, 2022 · 4 comments
Closed
2 tasks done

ArgoCD can't create namespace automatically on cluster #10411

ghost opened this issue Aug 21, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Aug 21, 2022

Checklist:

Describe the bug
ArgoCD can't create namespace automatically.

To Reproduce
I have follow this for declarative setup on my yaml file.
But the namespace didn't create automatically. I must manual create the namespace via kubectl or yaml file.

Expected behavior
ArgoCD can create namespace automatically without my intervention directly.

Screenshots
image

@ghost ghost added the bug Something isn't working label Aug 21, 2022
@filipjosifoski
Copy link

Hello mueherizky.

The syncOption to create namespace seems to be working fine for me, could you give us more information about the version of your ArgoCD and possibly the Application manifest?

@ghost
Copy link
Author

ghost commented Sep 2, 2022

Hello mueherizky.

The syncOption to create namespace seems to be working fine for me, could you give us more information about the version of your ArgoCD and possibly the Application manifest?

Sorry, only this time i can reply your comment. I use minikube cluster with docker driver. I use Pop OS 22.04 before, now in fedora 36.
argo version v2.4.11+3d9e9f2
btw, i'm not use argo cli, i just apply argo manifest file from this method
I just want to test argo on CD step. My CI use jenkins, but now i want to use github actions.

  1. My argo setup file:
    https://pastebin.com/KFDV7UUx
  2. My deployment file:
    https://pastebin.com/TLSGkG7i

@ghost
Copy link
Author

ghost commented Sep 2, 2022

after saw the app details - summary - edit
i get the Auto-Create Namespace is not checked (false).
Screenshot from 2022-09-02 08-23-29

But in app details - summary i get my argo setup file is deployed.
i mean CreateNamespace=True
Screenshot from 2022-09-02 08-26-53

@crenshaw-dev
Copy link
Member

The value of the sync option is case-sensitive. Use CreateNamespace=true.

@crenshaw-dev crenshaw-dev closed this as not planned Won't fix, can't repro, duplicate, stale Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants