Open jefkel opened 5 years ago
This PR adds some specific multi-line secret support to the release-1.2 branch by using wc to detect when a secret is multi-line and adding the expected | before adding the secret contents.
/usr/bin/wc from bin-utils /usr/bin/sed from sed
The same (or similar) fix may work in the 1.3 or master branches to replace the following: https://github.com/ansibleplaybookbundle/apb-base/blob/6064ac48320392ebe93db7a31d49de526bfc2d18/files/usr/bin/entrypoint.sh#L65
However, I haven't done any testing on those branches.
This PR adds some specific multi-line secret support to the release-1.2 branch by using wc to detect when a secret is multi-line and adding the expected | before adding the secret contents.
/usr/bin/wc from bin-utils /usr/bin/sed from sed
The same (or similar) fix may work in the 1.3 or master branches to replace the following: https://github.com/ansibleplaybookbundle/apb-base/blob/6064ac48320392ebe93db7a31d49de526bfc2d18/files/usr/bin/entrypoint.sh#L65
However, I haven't done any testing on those branches.