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
installer: always override -c config on default values
Fixes#8267
Currently, Users run `init` command first, update it and
pass full config to `render` to generate Kubernetes manifests. The
passage of `-c` is a requirement here, and users can't skip it.
This PR makes the passage of `config` to `render` optional, and
flexible. This means
- Users can skip `-c` entirely, in which case we use the default
values on the default config version for that installer binary
- Users can selectively override fields and *thus no need to pass full
config* all the time. This means `-c` flag acts as a flag through
which they can override the default fields.
For the second case, When a user explicitely sets the `apiVersion`
field in the passed config, we use the default values for that
version. If no `apiVersion` is passed, we override the passed config
onto the default values on the default config version for that
installer binary.
After this change, For users This means that they only store and use
the config that has their changes only (on the default config), and
not the entire config.
Signed-off-by: Tarun Pothulapati <[email protected]>
0 commit comments