-
Notifications
You must be signed in to change notification settings - Fork 99
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
Generator can not properly handle keys/values with operand characters (ie $) #307
Comments
tyler-adam
changed the title
Generator can not properly handle keys with operand characters (ie $)
Generator can not properly handle keys/values with operand characters (ie $)
Apr 18, 2023
Thanks for the report. For maintainers: this was discussed and verified on Slack, would be an interesting fix. |
I've noticed the same issue for the Aiven operator, where myConfig:
field.name: "myname" |
anatolPavl
added a commit
to anatolPavl/k8s
that referenced
this issue
Nov 21, 2024
anatolPavl
added a commit
to anatolPavl/k8s
that referenced
this issue
Nov 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the process of trying to create a jsonnet-lib for the Azure Service Operator v2, I discovered that they label one of their attributes
$propertyBag
. By doing this, the generator trips over itself. Here is an example of the output (trimmed for visibility):There should to be a way for k8s-gen to be aware of invalid characters and fix them however necessary (wrapping keys in quotes, etc - stripping them from variable names).
The text was updated successfully, but these errors were encountered: