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
Daein Park ab68fdad46 Remove incorrect logical operator command
Remove logical operator in the example of command because the "&&" makes errors in the command.
2022-10-11 14:05:12 +00:00

22 lines
597 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.