Open vhsantos opened 2 years ago
To clarify, cluster.inClusterEnabled
is a setting in the argocd-cm ConfigMap. The ApplicationSet controller will have to read that value. I assume we'd also want it to auto-update the parameters when the ConfigMap changes, which might make this a little tricky.
Summary
If you set the parameter inClusterEnabled to "false" and create an ApplicationSet, argo-cd will still try to deploy the application on local cluster (kubernetes.default.svc) and it will show the app on local cluster as "Status = Unknown"
Logs and manifests
app output
argocd-applicationset-controller logs
applicationset
Proposal and expected behavior
ApplicationSet should not try to deploy applications on local clusters disabled by parameter inClusterEnabled.
Related Tickets