Describe the bug
creating secrets with create-secrets.sh generates /etc/genestack/secrets.yaml
It is seen that for secrets with character length more than 32 characters the base64 encoded data has a newline (\n) character due to which secret creation fails
To Reproduce
Steps to reproduce the behavior:
run the create-secrets.sh script from /opt/genstack/bin/ directory
the generated file /etc/genestack/secrets.yaml contains base64 encoded data with newline '(\n)' characters
Expected behavior
The generated secrets.yaml file should not contain newline (\n) characters for encoded secrets
Describe the bug creating secrets with create-secrets.sh generates /etc/genestack/secrets.yaml It is seen that for secrets with character length more than 32 characters the base64 encoded data has a newline (\n) character due to which secret creation fails
To Reproduce Steps to reproduce the behavior:
Expected behavior The generated secrets.yaml file should not contain newline (\n) characters for encoded secrets
Example
There should be "tr -d '\n'" to remove newline characters when the secret is encoded:
Server (please complete the following information):