redhat-developer / kam

GitOps Application Manager: An opinionated CLI that generates the Kubernetes resources for managing your Tekton-based CI manifests, ArgoCD-based CD manifests and Application manifests in Git.
Apache License 2.0
145 stars 83 forks source link

Support creating Argo CD apps in namespace other than openshift-gitops #180

Open chetan-rns opened 3 years ago

chetan-rns commented 3 years ago

Is your feature request related to a problem? Please describe.

Currently, Kam bootstrap creates Argo CD applications in openshift-gitops namespace. This would work fine because the gitops operator creates a default instance in that namespace. But the instance in openshift-gitops namespace also has privileged permissions for managing cluster configurations. Kam is used for application delivery and the team managing cluster configuration might not be okay with sharing this instance with the application delivery teams.

Describe the solution you'd like

kam should be flexible enough to work with any namespace where an argocd instance is present for application delivery. Perhaps the bootstrap command could ask the argocd namespace as an input?