rackerlabs / genestack

Where Flex cloud brings infrastructures to where you are.
https://docs.rackspacecloud.com/
Apache License 2.0
29 stars 32 forks source link

genestack issue #340 trailing newline characters for base64 secret #341

Closed puni4220 closed 4 months ago

puni4220 commented 4 months ago

This commit fixes genestack issue https://github.com/rackerlabs/genestack/issues/340 to remove trailing newline (\n) from the base64 secrets

I have tested the modifications in my lab and the resulting secret.yaml file could be applied and secrets were created without any issue

japerezjr commented 4 months ago

instead of doing base64 | tr -d '\n', can we just use base64 -w0?

puni4220 commented 4 months ago

Thanks for the feedback. I have modified the file