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

make yurt-controller-manager take care of webhook configurations and … #1108

Merged

Conversation

gnunu
Copy link
Member

@gnunu gnunu commented Dec 26, 2022

…certs

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage

What this PR does / why we need it:

When yurt-controller-manager introduced pod webhook for create/update, the webhook configuration including ca/certs should be provisioned with the yurt-controller-manager pod as an atomic operation. Thus, the webhook configurations' creation/update and ca and certs would be taken care of by yurt-controller-manager itself. So this PR does these:

  1. ensure webhooks' configurations creation/update;
  2. self-sign the webhooks;

Which issue(s) this PR fixes:

Fixes #1040

Special notes for your reviewer:

Does this PR introduce a user-facing change?


other Note

@gnunu gnunu force-pushed the webhook-self-sign branch from 6a115b8 to d2475de Compare December 26, 2022 09:56
@openyurt-bot openyurt-bot added the size/XL size/XL: 500-999 label Dec 26, 2022
@gnunu gnunu force-pushed the webhook-self-sign branch from d2475de to 1a8c885 Compare December 26, 2022 11:06
@openyurt-bot openyurt-bot added the approved approved label Jan 4, 2023
@rambohe-ch
Copy link
Member

@gnunu please fix the conflicting file.

@gnunu gnunu force-pushed the webhook-self-sign branch from 1a8c885 to 2bde1c0 Compare January 4, 2023 13:56
@rambohe-ch rambohe-ch merged commit 71f1293 into openyurtio:pool-coordinator-dev Jan 4, 2023
@openyurt-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gnunu, rambohe-ch

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved approved size/XL size/XL: 500-999
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants