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
Debargho Ghosh 90ed35148d added setting up argo cd instance
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
2022-07-05 12:48:36 +00:00

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.