-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use recert for proxy seed reconfiguration
# Overview LCA will now use recert's new proxy feature. This will allow us to support environments where the seed proxy is different than the upgraded cluster's proxy. It will also allow us to perform a rollout-free seed proxy reconfiguration. Clusters with a proxy can only be upgraded using seeds that have a proxy. Clusters without a proxy can only be upgraded using seeds that don't have a proxy. # Notes Two new fields have been added to `SeedReconfiguration`, `Proxy` and `StatusProxy` - see commit diff for an explanation of why we need both and how they're determined in every scenario. Added a new `HasProxy` field to the seed cluster info struct. Seed images will now contain a `com.openshift.lifecycle-agent.seed_cluster_info` OCI label which will contain a JSON serialized seed cluster info struct. This label will allow LCA (and maybe IBIO in the future?) to make informed decisions about the compatibility of a particular seed image with the cluster being upgraded. For example, LCA will refuse to upgrade a cluster that has a proxy with a seed that doesn't. This label helps LCA knows whether the seed has a proxy or not (through the new `HasProxy` field), and block the upgrade appropriately before the image even gets pulled. # install-config On top of proxy, we're also going to be using recert's new install-config option. See comment about the new InstallConfig field in the seed reconfiguration struct for more information about why.
- Loading branch information
Showing
10 changed files
with
329 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.