-
Notifications
You must be signed in to change notification settings - Fork 991
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
Fix restart_policy validation in Deployment #2595
Conversation
f6e3b0c
to
89bb69e
Compare
This reverts commit fb1c3b3.
… of subcommand output.
89bb69e
to
aa5d3b2
Compare
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.
After reading through the original issue the code changes in this PR make sense, and I can see the new acc test passed.
Are there plans to make the field accept the other 2 values in the future? Or is making the pods always restart a way to ensure we're keeping everything declarative and predictable?
Also, I saw some unrelated acceptance tests failed- could you confirm that they're unrelated before merging?
Description
Fixes validation of
restart_policy
values in Deployment's pod template - only "Always" is a valid value in this caseAcceptance tests
Output from acceptance testing:
Release Note
Release note for CHANGELOG:
References
Fixes #2591
Community Note