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

✨ Add phase and owner references to RootShards #15

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

embik
Copy link
Member

@embik embik commented Jan 9, 2025

Summary

This adds a basic .status.phase field to RootShards that will indicate what part of the lifecycle the object is in. In addition, this PR adds owner references on all objects created by a RootShard object. As a minor addition, it also adds custom print columns for a nicer experience when running kubectl get rootshards.

Related issue(s)

Fixes #

Release Notes

Add `status.phase` to `RootShards` and set up owner references on all child objects

@kcp-ci-bot kcp-ci-bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has signed the DCO. labels Jan 9, 2025
@kcp-ci-bot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@kcp-ci-bot kcp-ci-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 9, 2025
@embik embik changed the title ✨ Add .status.phase to RootShards ✨ Add status with phase and conditions to RootShards Jan 9, 2025
@embik embik force-pushed the object-status-phases branch from fe65cc4 to 70641f0 Compare January 13, 2025 14:44
@embik embik marked this pull request as ready for review January 13, 2025 14:47
@kcp-ci-bot kcp-ci-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 13, 2025
@embik embik changed the title ✨ Add status with phase and conditions to RootShards ✨ Add phase and owner references to RootShards Jan 13, 2025
@kcp-ci-bot kcp-ci-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed release-note-none Denotes a PR that doesn't merit a release note. labels Jan 13, 2025
On-behalf-of: SAP <[email protected]>
Signed-off-by: Marvin Beckers <[email protected]>
@embik embik requested a review from xrstf January 13, 2025 15:19
Copy link
Contributor

@xrstf xrstf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Jan 13, 2025
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 9ebd3cb329d4d28e5279598096d49506dee846f8

@kcp-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xrstf

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:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kcp-ci-bot kcp-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 13, 2025
@kcp-ci-bot kcp-ci-bot merged commit 6ffdca9 into kcp-dev:main Jan 13, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has signed the DCO. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants