-
Notifications
You must be signed in to change notification settings - Fork 19
feat: add validation for timeoutInSeconds for MonitorConfig in TrafficManagerProfile #292
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
Conversation
Title(Describe updated until commit 877a71a)Add validation for timeoutInSeconds in MonitorConfig of TrafficManagerProfile Description
Changes walkthrough 📝
|
PR Reviewer Guide 🔍(Review updated until commit 877a71a)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 877a71a Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit f99d868
Suggestions up to commit 685a78c
Suggestions up to commit b662d8e
Suggestions up to commit a0606c5
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #292 +/- ##
==========================================
+ Coverage 80.14% 80.28% +0.14%
==========================================
Files 29 29
Lines 4065 4099 +34
==========================================
+ Hits 3258 3291 +33
- Misses 642 643 +1
Partials 165 165 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
What type of PR is this?
/kind feature
/kind api-change
What this PR does / why we need it:
Uses CEL to add kubebuilder API validation for field timeoutInSeconds within MonitorConfig in TrafficManagerProfile.
Which issue(s) this PR fixes:
Fixes #
Requirements:
make reviewablefor basic local testHow has this code been tested
API validation integration test
Special notes for your reviewer
If the IntervalInSeconds is set to 30 seconds (default), then you can set the Timeout value between 5 and 10 seconds.
If the IntervalInSeconds is set to 10 seconds, then you can set the Timeout value between 5 and 9 seconds.
As noted here