kubernetes-sigs / kubebuilder-declarative-pattern

A toolkit for building declarative operators with kubebuilder
Apache License 2.0
257 stars 85 forks source link

Return the last applied object in status #404

Closed barney-s closed 2 months ago

barney-s commented 2 months ago

What this PR does / why we need it:

This PR return the last applied objects in status. This is useful for controllers that need access to applied objects. It avoids a Get() call on the controller.

barney-s commented 2 months ago

/lgtm

k8s-ci-robot commented 2 months ago

@barney-s: you cannot LGTM your own PR.

In response to [this](https://github.com/kubernetes-sigs/kubebuilder-declarative-pattern/pull/404#issuecomment-2319329220): >/lgtm Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
justinsb commented 2 months ago

/approve /lgtm

k8s-ci-robot commented 2 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: barney-s, justinsb

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/kubebuilder-declarative-pattern/blob/master/OWNERS)~~ [justinsb] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment