Skip to content

Replace SubResourceWriter.Patch with native apply #2706

@c-pius

Description

@c-pius

Description

Replace deprecated client.Apply in SubResourceWriter with native SSA once available. E.g., replace client.Status().Patch(ctx, obj, client.Apply) with the native alternative once available.

Reasons

v0.22.0 of controller-runtime deprecated client.Apply in favor of "Native SSA Support" via client.Client.Apply. For SubResourceWriter, there is no replacement yet, see kubernetes-sigs/controller-runtime#3183

Acceptance Criteria

  • client.Apply not used anymore on SubResourceWriter
  • considered all projects
    • lifecycle-manager
    • template-operator
    • runtime-watcher
    • modulectl

Feature Testing

No response

Testing approach

No response

Attachments

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions