-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
JSONPatch annotations containing slashes #1256
Comments
Is there an actual solution for this? I am having the same problem |
Yep, it's part of jsonpatch http://jsonpatch.com/#json-pointer |
Just to put the solution right here directly, use |
It also seems that you need to quote the path if you use the ~1 escape, e.g.
|
how come the docs describe that put a
see #907 |
@John-Lin JSON patch itself has its own definition and implementation. It's irrelevant from how kustomize handle the slash. |
Not really a Kustomize issue but we definitely need a work around.
When patching annotations, it happens that the keys contain
/
. Like for example when patching my ingress:This doesn't work since it should be interpreted as
But is actually interpreted as:
The text was updated successfully, but these errors were encountered: