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

Revamp webhooks for OSM #151

Merged
merged 8 commits into from
Apr 1, 2022
Merged

Revamp webhooks for OSM #151

merged 8 commits into from
Apr 1, 2022

Conversation

ahmedwaleedmalik
Copy link
Member

Signed-off-by: Waleed Malik ahmedwaleedmalik@gmail.com

What this PR does / why we need it:
Refactor webhooks for OSM

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #138

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>
@kubermatic-bot kubermatic-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 Denotes that all commits in the pull request have the valid DCO signoff message. labels Mar 9, 2022
@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahmedwaleedmalik

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

@kubermatic-bot kubermatic-bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 9, 2022
Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>
Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>
@kubermatic-bot kubermatic-bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 9, 2022
@ahmedwaleedmalik ahmedwaleedmalik changed the title WIP: Revamp webhooks for OSM Revamp webhooks for OSM Mar 9, 2022
@kubermatic-bot kubermatic-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 9, 2022
.golangci.yml Outdated Show resolved Hide resolved
cmd/webhook/main.go Show resolved Hide resolved
cmd/webhook/main.go Outdated Show resolved Hide resolved
cmd/webhook/main.go Outdated Show resolved Hide resolved
cmd/webhook/main.go Outdated Show resolved Hide resolved
pkg/admission/machinedeployment/validation/validation.go Outdated Show resolved Hide resolved
@ahmedwaleedmalik
Copy link
Member Author

@moadqassem feedback handled 🚀

ahmedwaleedmalik and others added 3 commits March 29, 2022 11:20
Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>

Unmarshal provider configs in strict mode
Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>
* Disable firewalld on supported OSes

Signed-off-by: Artiom Diomin <kron82@gmail.com>

* Further firewalld cleanup in RHEL OSP

Signed-off-by: Artiom Diomin <kron82@gmail.com>

Update testdata

Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>

Additional RBAC for webhooks

Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>

Refactored code

Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>

Refactored code

Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>
@ahmedwaleedmalik
Copy link
Member Author

/hold

@kubermatic-bot kubermatic-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 29, 2022
Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>
@ahmedwaleedmalik
Copy link
Member Author

/unhold

@kubermatic-bot kubermatic-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 29, 2022
Copy link
Member

@moadqassem moadqassem left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Apr 1, 2022
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 53d387a8347f070be38b225654853bbed130caca

@kubermatic-bot kubermatic-bot merged commit 70dcdc6 into kubermatic:master Apr 1, 2022
@ahmedwaleedmalik ahmedwaleedmalik deleted the revamp-webhooks branch April 13, 2022 06:14
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 Denotes that all commits in the pull request have the valid DCO signoff message. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. 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.

Refactor webhooks for OSM
4 participants