Unsure if this is a regression @kubernetes/sig-cli-bugs
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.![]()
@ymqytw Can you take a look at this?
Should we quote the number?
env: - name: A value: "1" - name: B value: "2"
I wonder if this is related to using UnstructuredObject in edit instead of round tripping through go structs. I am not sure how the yaml could be converted to json in an unambiguous way without the type schema.
@smarterclayton I think maybe it shouldn't give a validation error, and instead should just work.
This is not a regression. Same issue happens in 1.4.9 and 1.5.3.
@ymqytw Thanks for checking on that. Lets start thinking about a solution.
@smarterclayton Moving validation to server side sounds like a good general solution. Do you have preference for what we do (if anything) for 1.6?
Should we remove the 1.6 milestone?
I'm fine with that
see also related #26050
/remove-priority P1
removing old priority/PN labels, this already has priority/important-soon
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Prevent issues from auto-closing with an /lifecycle frozen comment.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale
Closed #42217.
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close
Reopened #42217.
/lifecycle frozen
/kind bug
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
I think this might be fixed now.
Using the steps in the issue description, when I save the changes, it immediately reloads vim with the following message at the top:
#
# pods "nginx" was not valid:
# * patch: Invalid value: "map[spec:map[]]": cannot convert int64 to string
#
I tried several versions of kubectl back to 1.15.11, so I'm not sure at what point this might have been fixed.
As Brian put it it's working as expected.
/close
Closed #42217.
@soltysh: Closing this issue.
In response to this:
As Brian put it it's working as expected.
/close
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.