Skip to content

Instantly share code, notes, and snippets.

@mbaldessari
Last active February 7, 2025 01:30
Show Gist options
  • Save mbaldessari/62a169d65447c3e60aa6881f14fe8f2e to your computer and use it in GitHub Desktop.
Save mbaldessari/62a169d65447c3e60aa6881f14fe8f2e to your computer and use it in GitHub Desktop.
Openshift - convert ArgoCD from namespaced to cluster-wide
1. Make sure that the only existing gitops subscription has the
`ARGOCD_CLUSTER_CONFIG_NAMESPACE` env variable set to `*`
2. Go to the namespaced argo (pattern-sample) UI, choose Settings -> Cluster ->
Local kubernetes. Make sure you removed any labels or namespaces after clicking
on the edit button on the top right corner. See image below for how it
should look in the end
3. After that it should be able to apply everything from the pattern-sample argo instance
@oushinco
Copy link

oushinco commented Feb 7, 2025

I didnt make any changes, just check what i have now:

It seems already "*" in the yaml...

image

and my pattern-sample is clean

image

still have error in [Applications]/golang-external-secrets

ComparisonError
Failed to load live state: Cluster level CustomResourceDefinition "ecrauthorizationtokens.generators.external-secrets.io" can not be managed when in namespaced mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment