-
Notifications
You must be signed in to change notification settings - Fork 527
Improve validations for worker related fields in the shoot spec #12567
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
Improve validations for worker related fields in the shoot spec #12567
Conversation
cd2593c
to
8bed53d
Compare
/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 for the PR!
dddc4f2
to
f02373e
Compare
/retest |
7c2c5e6
to
e45840d
Compare
34d9cad
to
8f2fa23
Compare
/lgtm |
/retest |
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.
/approve
"Detail": Equal("must be non-negative"), | ||
})))) | ||
}) | ||
It("should forbid setting MachineHealthTimeout to a negative value", func() { |
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.
Nit: newline between multiple It
s
[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 |
/lgtm |
Sorry, it didn't work. |
8cd650a
to
c3f80b4
Compare
/lgtm |
/retest |
1 similar comment
/retest |
/lgtm |
LGTM label has been added. Git tree hash: f0539c155b19eca430b75e1882e01ada94f2ecbb
|
…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>
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
spec.provider.workers[]
spec.kubernetes.clusterAutoscaler
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: