You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jcpunk Independent from the feature request in this issue, it looks like you're "overusing" args a lot. They are meant as an "entrypoint" into configuration, while the actual configuration is loaded from vars files.
We for example have "target types", e.g. "prod", "test", "local" and then multiple targets that set an arg like target_type: prod. Then, in the root deployment.yaml we load a vars file via:
vars:
- file: config/{{ args.target_type }}.yaml
Based on that we can then also introduce defaults:
Same for the credentials you currently configure via args. It's better to put these into vars files (also allows to use SOPS) and only specify something like a "credentials_set" via args, so that deployment.yaml can load the correct one.
FYI: I plan to add a "receipts" section on kluctl.io, that will contains infos like this.
Command
Who are you?
Pat Riehecky, Computing Specialist at Fermilab
What do you want to do?
I'd like to have one target inherit the args and context from another target, but let me add extra args or change the target.
Why do you need that?
I'm using args to permit simplified tweaking of the deployment items. I've got some limited targets that are subsets of a full deployment target[1].
Having one target inherit from the other would permit dropping some boiler plate copy/paste bits.
[1]
https://github.com/DUNE-DAQ/daq-kube/blob/develop/.kluctl.yaml
The text was updated successfully, but these errors were encountered: