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

Overhaul logic for resource diffing #2445

Merged
merged 9 commits into from
Jun 23, 2023
Merged

Commits on Jun 15, 2023

  1. Drop usage of last-applied-configuration annotation

    Previous versions of the provider used the "kubectl.kubernetes.io/last-applied-configuration" annotation to store a copy of the configuration as part of the Kubernetes resource. This annotation was used for input diff computation in client-side apply mode. Specifically, input diffs were computed between the new inputs and the last-applied-configuration value from the previous live state. Using this annotation resulted in a large number of reported issues (30+) for the provider, and it will no longer be used.
    
    14916d3 added logic to prune a map based on a target map. This logic is used to prune live state to match the previous inputs before performing an input diff computation. This avoids the need to store the last-applied-configuration.
    lblackstone committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    1f1adb4 View commit details
    Browse the repository at this point in the history
  2. Fix CSA to SSA upgrade

    lblackstone committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    34d6a84 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    17b7ac8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    12c21a5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a1916a8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a5c2944 View commit details
    Browse the repository at this point in the history
  7. Update changelog

    lblackstone committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    7700d85 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6e87822 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. Configuration menu
    Copy the full SHA
    ccf4e41 View commit details
    Browse the repository at this point in the history