Running ArgoCD in namespaced mode #6375
Replies: 1 comment
-
Hey @antonionappi88, to run Argo CD in a true namespace scoped mode, you will need to confine Argo CD's The easiest way to do so is via the UI. Go to "Configuration" -> "Clusters", select the "in-cluster" cluster, click "Edit" and put the namespace into the "Namespaces" field. Then save. This way, Argo CD will not try to look up cluster level resources (and won't require any permissions to do so). This can also be done by creating the appropriate |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm trying to run ArgoCD in namespace mode. Because mostly of the apps that should manage will be outside of the cluster where it sits. My problem is that the sync fails with
Cluster level CustomResourceDefinition "appprojects.argoproj.io" can not be managed when in namespaced mode
.I'm installing it manually via
Then I try to create an application to manage ArgoCD by itself in the same namespace where I installed it.
Here the app
This is the
kustomization.yaml
file that is used by theself_argo
application.In the CRD patches I add different annotation to try to ignored them during sync:
But still ArgoCD complains about
Cluster level CustomResourceDefinition "appprojects.argoproj.io" can not be managed when in namespaced mode
Do you know if I can workaround this ? Basically I'd like that ArgoCD is able to manage itself in the namespace where is created.
Cheers,
Antonio
Beta Was this translation helpful? Give feedback.
All reactions