janeczku/rancher-letsencrypt

Support for reading config items from Rancher secrets

Open

#76 opened on May 9, 2017

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (110 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (324 stars)
PR merge metrics
 (PR metrics pending)

Description

It would be great if rancher-letsencrypt could read 'secret' config options like API keys from values passed by the Rancher secrets mechanism. Perhaps update getEnvOption so it:

  • Check if the environment variable is set, if so use that
  • Check if there is a file with the variable name in /run/secrets, if so use that

Contributor guide