Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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