-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
play kube: invalid character 'a' looking for beginning of value #16269
Comments
@ashley-cui PTAL |
Is this new with v4.3, did it work before? |
Do you have an example of the kube secret yaml and kube secret you're using with it? You can redact the sensitive information, but it's hard to reproduce if I don't know your kube yamls. |
They are already part of the issue ticket. |
Oh sorry, I missed it on the first read-through. I think this might be the incompatible env secrets issue that we've had from before @cdoern's work on the current play kube secrets. (Remember the required json env secrets that was implemented by a community member?) I'm not 100% sure though, maybe @cdoern can confirm? I think this has been broken since before 4.3. |
A friendly reminder that this issue had no activity for 30 days. |
/remove stale |
Fixes e2e tests, remove '\n' from base64 encoded data. Correct test to check that data in secret mounted file is decoded. Closes containers#16269 Closes containers#16625 Signed-off-by: Andrei Natanael Cosma <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Kubernetes secrets broken
Steps to reproduce the issue:
podman kube play test-secret.yaml
podman kube play test-pod.yaml
Describe the results you received:
Error: cannot set env TOKEN: secret secret-token-secret is not valid JSON: invalid character 'a' looking for beginning of value
Describe the results you expected:
A pod with the secret env
Additional information you deem important (e.g. issue happens only occasionally):
Ever time
Output of
podman version
:Output of
podman info
:Package info (e.g. output of
rpm -q podman
orapt list podman
orbrew info podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
test-pod.yaml.txt
test-secret.yaml.txt
The text was updated successfully, but these errors were encountered: