Skip to content

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

@pepoluan

Description

@pepoluan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions