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

Template function to read contents of file and (optionally) stripping last newline? #175

Open
pepoluan opened this issue Feb 22, 2022 · 0 comments

Comments

@pepoluan
Copy link

Is there a template function that can read the contents of a file and (optionally) stripping last newline of the file?

The reason being we want to use the Docker Swarm Secrets function, which will pass the 'secret values' as individual files under /run/secrets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant