-
Notifications
You must be signed in to change notification settings - Fork 153
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
Pipedv1 using auto rollback config from spec.Planner instead #5052
Conversation
Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5052 +/- ##
==========================================
- Coverage 22.75% 22.74% -0.01%
==========================================
Files 406 406
Lines 43041 43041
==========================================
- Hits 9794 9790 -4
- Misses 32470 32473 +3
- Partials 777 778 +1 ☔ View full report in Codecov by Sentry. |
// Automatically reverts all deployment changes on failure. | ||
// Default is true. | ||
AutoRollback *bool `json:"autoRollback,omitempty" default:"true"` |
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.
[imo] How about adding the comment to explain this is only for the v1 for now? It's because we avoid using it on the current version.
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.
I think we can add a deprecated note to the Input.AutoRollback
👍
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.
Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
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.
🚀
What this PR does / why we need it:
The auto rollback configuration is generic for all applications kinds, so it should be placed in
spec.Planner
instead ofspec(Kind).Input
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: