janeczku/rancher-letsencrypt
View on GitHubSupport for reading config items from Rancher secrets
Open
#76 opened on May 9, 2017
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