Skip to content

Generate ApplyConfigurations for API types #1152

Description

@mozesl-nokia

With Kubernetes libraries at >=0.36.x the client.Apply patch type has been deprecated in favour of using the new Apply method on the client. That method requires an ApplyConfiguration as an input object.

These ApplyConfiguration types can/must be generated with controller-gen and then be used by consumers. (There is a hacky way to convert to Unstructured then an ApplyConfiguration as a workaround.)

Add this generation to the Porch API module so that downstream clients can drop the deprecated method. Try to keep the dependencies at the lowest version possible whilst still supporting the new types!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesUpdate project dependenciesenhancementNew feature or requestgoPull requests that update go code

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions