Open cmoulliard opened 2 days ago
The install command does provide flags for setting the namespace. This is also possibly via application.properties
What we need to do, is have the install command fail if no namespace is specified.
We need 2 namespaces parameters as the Argo CD application can be deployed under the namespace where the server is running like the Application(Set) controller(s) AND Helm chart, MANIFEST file generated can be deployed under a different namespace if argocd has been configured to support that: in this case
So, we should be able to handle 3-(4) scenario:
argocd
namespace on k8s and openshift-gitops
on ocp-n namespace
, then the application CR will be generated using this namespace and helm chart or MANIFEST file should use it too to generate the Service, Deployment, etc against the defined namespace-n namespace
and --application-namespace, then the application CR will use the
-n namespaceand helm or MANIFEST will set the namespace of the resources using
--application-namespace`@iocanel
Issue
Argocd refuses to deploy the Helm resources due to missing namespace not defined for the Deployment, Service
@iocanel