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

Auto-alias resource apiVersions #798

Merged
merged 6 commits into from
Oct 4, 2019
Merged

Commits on Oct 3, 2019

  1. Auto-alias resource apiVersions

    Kubernetes apiVersions are mostly forward/backward
    compatible, so for cases where we know it's safe, we
    auto-alias the apiVersions so that the engine does not
    force a replacement when a resource is updated to a
    compatible apiVersion.
    lblackstone committed Oct 3, 2019
    Configuration menu
    Copy the full SHA
    650805d View commit details
    Browse the repository at this point in the history
  2. Special case extensions/v1beta1 resources

    Force a replacement for resources with the
    extensions/v1beta1 apiVersion when the apiVersion
    changes.
    lblackstone committed Oct 3, 2019
    Configuration menu
    Copy the full SHA
    0fcd357 View commit details
    Browse the repository at this point in the history
  3. Fix test

    lblackstone committed Oct 3, 2019
    Configuration menu
    Copy the full SHA
    8c4a7fe View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2019

  1. Store createApiVersion as annotation

    Reverse the force-replace change for e/v1b1 apiVersions,
    and instead store the apiVersion for the orginial create as
    an annotation on the k8s resource. The await logic uses
    this annotation to choose the correct logic path.
    lblackstone committed Oct 4, 2019
    Configuration menu
    Copy the full SHA
    411309d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4667f5d View commit details
    Browse the repository at this point in the history
  3. Improve test

    Check that e/v1b1 Deployment can update successfully after
    changing the apiVersion.
    lblackstone committed Oct 4, 2019
    Configuration menu
    Copy the full SHA
    3e8705d View commit details
    Browse the repository at this point in the history