kots
kots copied to clipboard
feat: store embedded cluster config in a secret
What this PR does / why we need it:
the crd fields may change after the cluster upgrade so we can't rely on the current version when starting an upgrade. i.e. we need a way to preserve current as well as yet to be introduced fields. this pr makes kots manage the embedded cluster configuration as a secret. during an upgrade the new config is injected into a secret and the secret name is populated in the installation, the operator will read the config from the secret.