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

MGMT-14923: add OSImageVersion to InfraEnvSpec #5365

Merged

Commits on Jul 19, 2023

  1. MGMT-14923: add OSImageVersion to InfraEnvSpec

    Introduced a new property to InfraEnvSpec: 'OSImageVersion'.
    The property can be used for creating an InfraEnv through kube-api
    with a specific OS image version.
    
    The 'OSImageVersion' is useful for HyperShift flows which
    use late binding, hence, the InfraEnv isn't created according
    to a cluster version (thus latest OS image is used as a fallback).
    
    Notes:
    * The specified version should refer to an OSImage from the list
      in AgentServiceConfig, otherwise the condition is set to failure.
    * When a ClusterRef is provided, we still use the cluster's version
      for creating the InfraEnv. Thus, The property should not be
      provided along with OSImageVersion to avoid a conflict
      (validated with a WebHook).
    danielerez committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    666022c View commit details
    Browse the repository at this point in the history