-
-
Notifications
You must be signed in to change notification settings - Fork 811
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
dataFrom can't extract keys with underscores #3363
Comments
No, the error says |
This error seems more like your payload not being a valid JSON. we have plenty of e2e tests for |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
This issue was closed because it has been stalled for 30 days with no activity. |
Describe the bug
ESO can not extract keys with underscores in them.
To Reproduce
Create a key with an underscore in the name and then try to use dataFrom to extract it.
k8s version v1.27.7
ESO version v0.9.9
Message:
Secret "test-secret" is invalid: data[]: Invalid value: "": a valid config key must consist of alphanumeric characters, '-', '_' or '.' (e.g. 'key.name', or 'KEY_NAME', or 'key-name', regex used for validation is '[-._a-zA-Z0-9]+')
Expected behavior
This works if you're using data instead of dataFrom. And the warning says underscores are valid. I would expect this to work.
The text was updated successfully, but these errors were encountered: