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

Streamline gardener-resource-manager entrypoint and introduce component configuration #6865

Merged
merged 33 commits into from
Oct 26, 2022

Conversation

rfranzke
Copy link
Member

@rfranzke rfranzke commented Oct 21, 2022

How to categorize this PR?

/area dev-productivity
/kind cleanup technical-debt

What this PR does / why we need it:
This PR streamlines the gardener-resource-manager entrypoint as well as all controllers and webhooks so that it is aligned with other components like garden{er-controller-manager,er-scheduler,let}.

It also introduces a component config API for GRM (previously it was using CLI flags only).

Which issue(s) this PR fixes:
Part of #4251

Release note:

The `gardener-resource-manager` component has been reworked entirely. It now uses a component config instead of CLI flags. Also, its Helm chart has been reworked entirely.

@gardener-prow gardener-prow bot added area/dev-productivity Developer productivity related (how to improve development) kind/cleanup Something that is not needed anymore and can be cleaned up kind/technical-debt Something that is only solved on the surface, but requires more (re)work to be done properly cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. labels Oct 21, 2022
@gardener-prow gardener-prow bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Oct 21, 2022
@oliver-goetz
Copy link
Member

/assign

Copy link
Member

@oliver-goetz oliver-goetz left a comment

Choose a reason for hiding this comment

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

I'm currently in the middle of commit Rework main entrypoint. Some nits I discovered so far.

docs/concepts/resource-manager.md Outdated Show resolved Hide resolved
docs/concepts/resource-manager.md Outdated Show resolved Hide resolved
docs/concepts/resource-manager.md Outdated Show resolved Hide resolved
docs/concepts/resource-manager.md Outdated Show resolved Hide resolved
pkg/resourcemanager/apis/config/register.go Outdated Show resolved Hide resolved
pkg/resourcemanager/apis/config/validation/validation.go Outdated Show resolved Hide resolved
pkg/resourcemanager/apis/config/validation/validation.go Outdated Show resolved Hide resolved
cmd/gardener-controller-manager/app/app.go Outdated Show resolved Hide resolved
Copy link
Member

@oliver-goetz oliver-goetz left a comment

Choose a reason for hiding this comment

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

some bits and pieces in the helm chart.
Otherwise 🚀

This was also not done before but a premature optimization as part of
this PR. However, we have to revert it because the GRM for shoots
handles not only the kube-system namespace in the shoot but also other
namespaces (e.g., kubernetes-dashboard).
@oliver-goetz
Copy link
Member

/lgtm

@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Oct 26, 2022
@gardener-prow
Copy link
Contributor

gardener-prow bot commented Oct 26, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: oliver-goetz

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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 26, 2022
@rfranzke
Copy link
Member Author

/test pull-gardener-e2e-kind

@gardener-prow gardener-prow bot merged commit 0a4f18e into gardener:master Oct 26, 2022
@rfranzke rfranzke deleted the refactor/grm branch October 26, 2022 11:34
@rfranzke rfranzke changed the title Streamline gardener-resource-manager entrypoint and introduce component configuration Streamline gardener-resource-manager entrypoint and introduce component configuration Nov 4, 2022
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/dev-productivity Developer productivity related (how to improve development) cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. kind/cleanup Something that is not needed anymore and can be cleaned up kind/technical-debt Something that is only solved on the surface, but requires more (re)work to be done properly 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.

None yet

2 participants