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

Stub out harvester-node-manager-webhook #20

Merged
merged 5 commits into from
Dec 22, 2023
Merged

Stub out harvester-node-manager-webhook #20

merged 5 commits into from
Dec 22, 2023

Conversation

connorkuehl
Copy link

Related to: harvester/harvester#4710

Related to: harvester/harvester#4709


This PR adds the webhook boilerplate from the sample repo[1]. It registers mutation and validation admission handlers for the recently-merged CloudInit CR but they are stubbed out to prevent the creation of those resources until the business logic is added in a following PR.

[1] https://github.com/harvester/webhook-sample

Copy link
Contributor

@Vicente-Cheng Vicente-Cheng left a comment

Choose a reason for hiding this comment

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

Just a nit, others LGTM

cmd/webhook/main.go Outdated Show resolved Hide resolved
Connor Kuehl added 5 commits December 20, 2023 11:02
Copy link
Contributor

@Vicente-Cheng Vicente-Cheng left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for adding this!

Copy link
Member

@bk201 bk201 left a comment

Choose a reason for hiding this comment

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

LGTM!

@bk201 bk201 merged commit c9d8b87 into harvester:master Dec 22, 2023
4 checks passed
@connorkuehl connorkuehl deleted the harv4710_stub_webhook branch December 22, 2023 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants