Javatar81 / devjoy

2 stars 0 forks source link

Allow ArgoCD Application to deploy in external namespace #33

Closed Javatar81 closed 8 months ago

Javatar81 commented 8 months ago

https://argocd-operator.readthedocs.io/en/latest/usage/deploy-to-different-namespaces/

Javatar81 commented 8 months ago

We need to set this when a project is created in a namespace != devEnv.metadata.namespace:

apiVersion: v1
kind: Namespace
metadata:
  name: bar
  labels:
    argocd.argoproj.io/managed-by: foo // namespace of managing Argo CD instance
Javatar81 commented 8 months ago

We also need to create the application in the environment instead of the project namespace.

Javatar81 commented 8 months ago

Depends on #1 otherwise image stream cannot be found.