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

✨ Bootstrap code with kubebuilder and set up initial CRDs #2

Merged
merged 7 commits into from
Nov 21, 2024

Conversation

embik
Copy link
Member

@embik embik commented Nov 12, 2024

Summary

This adds an initial scaffold via kubebuilder. It's big as it stands, so I'm not adding anything more.

Core focus of the review (i.e. the only things I changed) should be the apis/ directory. I've written some simple documentation for how objects relate to each other as well.

Related issue(s)

Fixes #

Release Notes

Add initial API definitions

@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. dco-signoff: yes Indicates the PR's author has signed the DCO. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Nov 12, 2024
@embik embik changed the title WIP: Bootstrap code with kubebuilder and set up initial CRDs ✨ Bootstrap code with kubebuilder and set up initial CRDs Nov 12, 2024
@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 do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Nov 12, 2024
@embik embik changed the title ✨ Bootstrap code with kubebuilder and set up initial CRDs WIP: ✨ Bootstrap code with kubebuilder and set up initial CRDs Nov 12, 2024
@kcp-ci-bot kcp-ci-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 12, 2024
On-behalf-of: @SAP [email protected]
Signed-off-by: Marvin Beckers <[email protected]>
On-behalf-of: @SAP [email protected]
Signed-off-by: Marvin Beckers <[email protected]>
@embik embik changed the title WIP: ✨ Bootstrap code with kubebuilder and set up initial CRDs ✨ Bootstrap code with kubebuilder and set up initial CRDs Nov 14, 2024
@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 Nov 14, 2024
@embik embik force-pushed the bootstrap-code branch 2 times, most recently from 068aba9 to dc30b02 Compare November 18, 2024 15:46
On-behalf-of: @SAP [email protected]
Signed-off-by: Marvin Beckers <[email protected]>
@kcp-ci-bot
Copy link
Contributor

kcp-ci-bot commented Nov 18, 2024

@embik: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-kcp-operator-test-e2e 1d5728d link true /test pull-kcp-operator-test-e2e

Full PR test history

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Copy link

@mjudeikis mjudeikis left a comment

Choose a reason for hiding this comment

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

In general as skeleton to start with - I think its good to go in and we iterate. Its not like it set in stone. If other are ok, we can move on?

Makefile Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
cmd/main.go Outdated Show resolved Hide resolved
RunSpecs(t, "Controller Suite")
}

var _ = BeforeSuite(func() {

Choose a reason for hiding this comment

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

Is ginko something we really want to go with? :D I would prefer something more like kcp framework. Wondering what others thing?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is bootstrapped by kubebuilder. I'm open to changing it once we implement real tests, I'd just leave it in for now.

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 20, 2024
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: b47f572868b53aefecc6bf3f0e7abccd2e00d7be

@kcp-ci-bot kcp-ci-bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 21, 2024
@mjudeikis
Copy link

/lgtm
/approve

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 21, 2024
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: d21a0efd7f86e01059f7040d44f7f95fe9e054d9

@kcp-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mjudeikis

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 Nov 21, 2024
@kcp-ci-bot kcp-ci-bot merged commit 0b07c1d into kcp-dev:main Nov 21, 2024
10 checks passed
@embik embik deleted the bootstrap-code branch November 21, 2024 11:52
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/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants