Skip to content

Conversation

rfranzke
Copy link
Member

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:

  • A new field BootstrapControlPlane is introduced in the Values which
    • sets hostNetwork=true
    • tolerate all taints
    • set API server address to 127.0.0.1
  • The existing TargetDiffersFromSourceCluster field is replaced with ResponsibilityMode which can be ForSource, ForTarget, or (new scenario) ForSourceAndTarget
    • In ForSourceAndTarget, certain webhooks are enabled that usually only run in the "responsible for shoot" mode

On 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:

NONE

@gardener-prow gardener-prow bot requested a review from ScheererJ February 11, 2025 11:52
@gardener-prow gardener-prow bot added area/ipcei IPCEI (Important Project of Common European Interest) kind/enhancement Enhancement, improvement, extension cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Feb 11, 2025
@ScheererJ
Copy link
Member

/assign

Copy link
Member

@ScheererJ ScheererJ left a 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.

Copy link
Member

@ScheererJ ScheererJ left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Feb 12, 2025
Copy link
Contributor

gardener-prow bot commented Feb 12, 2025

LGTM label has been added.

Git tree hash: 47d83a6376d91341d62c5213647a638b6e10ff02

Copy link
Contributor

gardener-prow bot commented Feb 12, 2025

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@gardener-prow gardener-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Feb 12, 2025
- 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`.
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.
@rfranzke rfranzke force-pushed the gep28/grm-hostnetwork branch from be64797 to fd5fdea Compare February 12, 2025 13:17
@gardener-prow gardener-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Feb 12, 2025
@gardener-prow gardener-prow bot requested a review from ScheererJ February 12, 2025 13:17
@gardener-prow gardener-prow bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 12, 2025
@ScheererJ
Copy link
Member

/lgtm

@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Feb 13, 2025
Copy link
Contributor

gardener-prow bot commented Feb 13, 2025

LGTM label has been added.

Git tree hash: 1210dec087e95d1aad473cb431c8abc2eab45902

@gardener-prow gardener-prow bot merged commit 417b11b into gardener:master Feb 14, 2025
19 checks passed
@rfranzke rfranzke deleted the gep28/grm-hostnetwork branch February 14, 2025 08:41
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. area/ipcei IPCEI (Important Project of Common European Interest) cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. kind/enhancement Enhancement, improvement, extension lgtm Indicates that a PR is ready to be merged. 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.

2 participants