Skip to content
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

Bug: while saving external secrets, data is getting corrupted as encoded data is not getting stored in db, so its failing at decoding the base64 encoded data. #5699

Closed
2 tasks done
prakash100198 opened this issue Aug 20, 2024 · 0 comments · Fixed by #5695
Assignees
Labels
bug Something isn't working

Comments

@prakash100198
Copy link
Contributor

📜 Description

while saving external secrets, data is getting corrupted as encoded data is not getting stored in db, so its failing at decoding the base64 encoded data.

👟 Reproduction steps

  1. create a normal secret
  2. now change the type of that secret to external secret (maybe aws, or google secret)
  3. and click on save button, it will throw error as illegal base64 encoded data.
  4. now refresh the page, secret data is being stored in db irrespective of the error whole saving

👍 Expected behavior

validation should be present initially, should not let secret save in db

👎 Actual Behavior

data getting stored but toast is also visible on the UI

☸ Kubernetes version

1.30

Cloud provider

🌍 Browser

Chrome

🧱 Your Environment

No response

✅ Proposed Solution

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants