Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Secret Generation from within the ArgoCD Workflow seems to be buggy. Base64 String gets broken onto two lines #30

Closed
PatrickLaabs opened this issue Feb 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@PatrickLaabs
Copy link
Owner

/kind bug

What steps did you take and what happened:
When we create the Secrets inside ArgoCD Workflow, the encrypted URL (base64) seems to line break inside the shell of ArgoCD Workflows.

Currently we are passing the url with an env var.

But, if we add the base64 string directly to the deployment, it works perfectly and as expected.

@PatrickLaabs PatrickLaabs added the bug Something isn't working label Feb 26, 2024
@PatrickLaabs
Copy link
Owner Author

Cause of this issue is, if the name of the newly created github repo is too long, the base64 encoded string gets also longer and will break into two lines.
This will cause the error, that the yaml cannot be correctly be parsed to json.

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

No branches or pull requests

1 participant