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

Shoot API: Forbid adding or changing .spec.seedSelector when .spec.seedName is set #9212

Merged

Conversation

rfranzke
Copy link
Member

How to categorize this PR?

/area usability
/kind enhancement

What this PR does / why we need it:
When .spec.seedName is set, it doesn't make sense to add or change the .spec.seedSelector field. It is fine to remove it (i.e., set .spec.seedSelector to nil), though.

Special notes for your reviewer:
/cc @petersutter

Release note:

It is no longer possible to add or change the `.spec.seedSelector` field in `Shoot`s when `spec.seedName` is already set.

@gardener-prow gardener-prow bot added area/usability Usability related kind/enhancement Enhancement, improvement, extension cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Feb 23, 2024
Copy link
Contributor

@petersutter petersutter left a comment

Choose a reason for hiding this comment

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

/lgtm

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

gardener-prow bot commented Feb 26, 2024

LGTM label has been added.

Git tree hash: 9dd285aa3986967c8bd6eaa970962b8363bb71b9

@shafeeqes
Copy link
Contributor

/approve

Copy link
Contributor

gardener-prow bot commented Feb 26, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: petersutter, shafeeqes

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 Feb 26, 2024
@gardener-prow gardener-prow bot merged commit c4b3c3d into gardener:master Feb 26, 2024
17 checks passed
@rfranzke rfranzke deleted the forbid-changing-seedselector branch February 26, 2024 11:54
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/usability Usability related 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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants