1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/gitops-deploy-resources-different-namespaces.adoc
2023-10-30 08:58:12 -04:00

22 lines
612 B
Plaintext

// Module included in the following assemblies:
//
// * cicd/gitops/setting-up-argocd-instance.adoc
:_mod-docs-content-type: PROCEDURE
[id="gitops-deploy-resources-different-namespaces_{context}"]
= Deploying resources to a different namespace
To allow Argo CD to manage resources in other namespaces apart from where it is installed, configure the target namespace with a `argocd.argoproj.io/managed-by` label.
.Procedure
* Configure the namespace:
+
[source,terminal]
----
$ oc label namespace <namespace> \
argocd.argoproj.io/managed-by=<namespace> <1>
----
<1> The namespace where Argo CD is installed.