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
add back defaulting for parameter decoding #49579
add back defaulting for parameter decoding #49579
Conversation
I believe that defaulting stdout and stderr to true has been a bug since the day it was introduced. What is the path forward to removing this behavior? EDIT: To clarify a bit, if you do |
Well, since this doesn't work because of a mismatch between internal and external types results in getting a "real" |
Alright, I've manually confirmed that 1.6 always forced these values to true and that 1.7 respects them and does not apply any defaults. There isn't a great way to have a fake defaulting path added in, so we'll need to sort out what to do. |
Adding do-not-merge/release-note-label-needed because the release note process has not been followed. |
This PR hasn't been active in 90 days. Closing this PR. Please reopen if you would like to work towards merging this change, if/when the PR is ready for the next round of review. You can add 'keep-open' label to prevent this from happening again, or add a comment to keep it open another 90 days |
We're going to want this. |
@deads2k still want this? |
85c49b2
to
eb9eddc
Compare
Yes. Rebased. |
eb9eddc
to
18552ce
Compare
@deads2k: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/retest |
@smarterclayton @liggitt for approval |
/approve no-issue |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, ncdc, smarterclayton Associated issue requirement bypassed by: smarterclayton The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue (batch tested with PRs 55798, 49579, 54862, 55188, 51990). If you want to cherry-pick this change to another branch, please follow the instructions here. |
At the beginning of 1.7, we removed the last "conversion causes defaulting". This broke the "default to true" behavior for exec and attach options, but we didn't notice. This removes the broken defaulter (you can default a non-point bool to true on an object) and adds back defaulting to parameter codecs.
@k8s-mirror-api-machinery-misc @lavalamp @smarterclayton