mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
made review changes made review changes rectified typo swapped steps made review changes made review changes made review changes made review changes made changes removed extra lines changed modules included made review changes made review changes
22 lines
600 B
Plaintext
22 lines
600 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * gitops-argo-cd-installation.adoc
|
|
|
|
:_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=<instance_name> <1>
|
|
----
|
|
<1> The namespace where Argo CD is installed.
|
|
|