-
Notifications
You must be signed in to change notification settings - Fork 525
[GEP-28] Prepare gardener/resourcemanager
component for "bootstrap control plane" case
#11343
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
[GEP-28] Prepare gardener/resourcemanager
component for "bootstrap control plane" case
#11343
Conversation
/assign |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for starting with the GEP-28 preparation.
I have only a minor question, which might stem from lack of reflect
usage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
LGTM label has been added. Git tree hash: 47d83a6376d91341d62c5213647a638b6e10ff02
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ScheererJ 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 |
- set hostNetwork=true - tolerate all taints - set API server address to 127.0.0.1
For better distinction which features are enabled. This is a prefactoring step because we'll introduce a third mode `ForSourceAndTarget`.
- enable certain webhooks
Instead of providing many arguments in the functions, just pass the values that should be overridden with whatever user-desired config, and apply them to the default values of the respective function.
be64797
to
fd5fdea
Compare
/lgtm |
LGTM label has been added. Git tree hash: 1210dec087e95d1aad473cb431c8abc2eab45902
|
How to categorize this PR?
/area ipcei
/kind enhancement
What this PR does / why we need it:
This PR augments the
gardener/resourcemanager
component as follows:BootstrapControlPlane
is introduced in theValues
whichhostNetwork=true
127.0.0.1
TargetDiffersFromSourceCluster
field is replaced withResponsibilityMode
which can beForSource
,ForTarget
, or (new scenario)ForSourceAndTarget
ForSourceAndTarget
, certain webhooks are enabled that usually only run in the "responsible for shoot" modeOn the way, I improved the instantiation of a new GRM component via the
component/shared
package.Which issue(s) this PR fixes:
Part of #2906
Special notes for your reviewer:
/cc @ScheererJ
Release note: