[Kubernetes] Fix argocd-application.libsonnet jsonnet library #30036
Labels
devops
practice area categorization -- NOT a team assignment
needs-grooming
Use this to designate any issues that need grooming from the team
operations
Description
When deploying a new argocd application object it is built from the jsonnet template lib argocd-application.libsonnet. It offers two sync policies automatedDefault() (auto sync enabled) and automatedDisabled() (auto sync disabled). The problem being if you attempt to deploy a new app in a new namespace with the automatedDisabled() functionality the namespace will not be created and the deploy will fail.
This is due to the automatedDisabled() function not including the needed syncOptions (CreateNamespace=true) when defining a argocd application object.
argoproj/argo-cd#1809 (comment)
https://github.com/department-of-veterans-affairs/vsp-infra-application-manifests/blob/c628936ffc72a493cf7e6e0d965ad8045685c8e6/jsonnet/lib/argocd-application.libsonnet#L75-L103
Tasks
Acceptance Criteria
Reminders
The text was updated successfully, but these errors were encountered: