Skip to content

Conversation

aaronfern
Copy link
Contributor

@aaronfern aaronfern commented Jul 18, 2025

How to categorize this PR?

/area quality
/area robustness
/area security
/kind enhancement

What this PR does / why we need it:
This PR improves input value validations for fields within the following

  1. spec.provider.workers[]
  2. spec.kubernetes.clusterAutoscaler

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

Validations for `spec.provider.worker[]` and `spec.kubernetes.clusterAutoscaler` have been improved.

@gardener-prow gardener-prow bot added area/quality Output qualification (tests, checks, scans, automation in general, etc.) related area/robustness Robustness, reliability, resilience related area/security Security related kind/enhancement Enhancement, improvement, extension cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. labels Jul 18, 2025
@gardener-prow gardener-prow bot requested review from Kostov6 and oliver-goetz July 18, 2025 08:00
@gardener-prow gardener-prow bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 18, 2025
@aaronfern aaronfern force-pushed the mcm_input_validations branch from cd2593c to 8bed53d Compare July 18, 2025 09:12
@shafeeqes
Copy link
Contributor

/assign

Copy link
Contributor

@shafeeqes shafeeqes left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

@aaronfern aaronfern force-pushed the mcm_input_validations branch from dddc4f2 to f02373e Compare July 25, 2025 06:31
@aaronfern
Copy link
Contributor Author

/retest

@aaronfern aaronfern force-pushed the mcm_input_validations branch from 7c2c5e6 to e45840d Compare August 1, 2025 05:37
@aaronfern aaronfern force-pushed the mcm_input_validations branch from 34d9cad to 8f2fa23 Compare August 4, 2025 05:38
@shafeeqes
Copy link
Contributor

/lgtm

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

/retest

Copy link
Member

@rfranzke rfranzke left a comment

Choose a reason for hiding this comment

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

/approve

"Detail": Equal("must be non-negative"),
}))))
})
It("should forbid setting MachineHealthTimeout to a negative value", func() {
Copy link
Member

Choose a reason for hiding this comment

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

Nit: newline between multiple Its

Copy link
Contributor

gardener-prow bot commented Aug 5, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rfranzke

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 Aug 5, 2025
@gardener-prow gardener-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 5, 2025
@gardener-prow gardener-prow bot requested a review from shafeeqes August 5, 2025 15:25
@shafeeqes
Copy link
Contributor

/lgtm

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

Sorry, it didn't work.

@shafeeqes shafeeqes force-pushed the mcm_input_validations branch from 8cd650a to c3f80b4 Compare August 6, 2025 06:40
@gardener-prow gardener-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2025
@gardener-prow gardener-prow bot requested a review from shafeeqes August 6, 2025 06:40
@shafeeqes
Copy link
Contributor

/lgtm

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

/retest

1 similar comment
@aaronfern
Copy link
Contributor Author

/retest

@gardener-prow gardener-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2025
@rfranzke rfranzke requested a review from acumino August 7, 2025 06:51
@acumino
Copy link
Member

acumino commented Aug 7, 2025

/lgtm

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

gardener-prow bot commented Aug 7, 2025

LGTM label has been added.

Git tree hash: f0539c155b19eca430b75e1882e01ada94f2ecbb

@gardener-prow gardener-prow bot merged commit 873ed07 into gardener:master Aug 7, 2025
19 checks passed
Duciwuci pushed a commit to stackitcloud/gardener that referenced this pull request Sep 1, 2025
…ener#12567)

* Improve validations for spec.provider.workers[] and spec.kubernetes.clusterAutoscaler

* Addressed review feedback

* Added test case for kubernetes.clusterAutoscaler.verbosity

* Update validation for maxEvictRetries

* Adjust validations for inPlace values of worker and add these fields to 90-shoot.yaml

* nit: add newlines between Its

* Update pkg/apis/core/validation/shoot_test.go

* Fix unit tests

---------

Co-authored-by: Shafeeque E S <shafeeque.e.s@sap.com>
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/quality Output qualification (tests, checks, scans, automation in general, etc.) related area/robustness Robustness, reliability, resilience related area/security Security 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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants