Closed marcelldls closed 2 weeks ago
I'm still struggling with this a little - not sure of all of the implications. First I don't think that your approach needs to enforce 'enabled' flag as you can use the tertiary operator to turn 'not set' into the default 'true' .
There are too many variables to assess here for me to choose from:
@gilesknap to clarify - if you dont have enabled
in your values then they do not show in the rootapp parameters. Adding a default doesn't solve this
This allows
<service>.enabled
to be applied from the deployment repo<service>.enabled
in the root app to allow override -<service>.enabled
must be present in apps chart values.yaml (Not currently enforced)argocd app get <ns>/<app> -o yaml
<service>.enabled
as having been overridden