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

Always set a field manager name #2271

Merged
merged 4 commits into from
Dec 19, 2022
Merged

Commits on Dec 15, 2022

  1. Always set a field manager name

    Recent versions of Kubernetes have started to create a managedFields entry for every resource, even those that use Client-Side Apply (CSA). The name of the field manager is inferred from the name of the executable performing the update. This can lead to cross-platform conflicts, because the executable name can be different (e.g., myprogram vs. myprogram.exe). This leads to multiple field managers owning the same fields.
    
    To avoid auto-naming conflicts like this, always set a field manager name. In the CSA mode, this name will always be "pulumi-kubernetes". In Server-Side Apply (SSA) mode, the name will be "pulumi-kubernetes-<suffix>", with a randomly-generated suffix.
    lblackstone committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    9cda592 View commit details
    Browse the repository at this point in the history
  2. Changelog

    lblackstone committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    69a6f94 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2022

  1. Configuration menu
    Copy the full SHA
    fe7796b View commit details
    Browse the repository at this point in the history
  2. Change fieldManagerName to be a provider method

    Use a method instead of a function to ensure that the serverSideApplyMode flag is used consistently
    lblackstone committed Dec 16, 2022
    Configuration menu
    Copy the full SHA
    df48701 View commit details
    Browse the repository at this point in the history