-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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 trialing spaces in meshconfig to allow edits #16820
Fix trialing spaces in meshconfig to allow edits #16820
Conversation
Without this, if you do `kubectl edit` a meshconfig, then its all mangled and escaped. This is because of a "feature" of kubectl to escape anything with trailing spaces. With this change, the mesh config is editable simply.
Fixes #16819 |
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.
Where did you find this - I've been looking for the cause for a long, long time.
Thanks a lot !
I copy pasted the mesh config to a file and applied and somehow it worked -- turned out my editor removed the spaces, so doing a diff showed this as the root cause |
@howardjohn: The following test failed, say
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. |
In response to a cherrypick label: new pull request created: #16822 |
* istio#16223 * istio#16272 * istio#16187 * istio#16466 * istio#16634 * istio#16594 * istio#16666 * istio#16483 * istio#16820 * istio#16842 * istio#16852 * istio#16835 * istio#16863 * istio#16892 * istio#16991 * istio#16957 * istio#17013 * istio#17134 * istio#17155 * istio#17235 * istio#17342 * istio#17477 * istio#17615 * istio#17334 * istio#17708 * istio#17737 * Fix injection template * Fix quoting * Fix test values * Add accidentally deleted affinity
Without this, if you do
kubectl edit
a meshconfig, then its allmangled and escaped. This is because of a "feature" of kubectl to escape
anything with trailing spaces. With this change, the mesh config is
editable simply.
Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure