Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use recert for proxy seed reconfiguration #410

Merged
merged 1 commit into from
Apr 15, 2024

Commits on Apr 15, 2024

  1. 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.
    omertuc committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    250e53f View commit details
    Browse the repository at this point in the history