janeczku/rancher-letsencrypt
在 GitHub 查看Support for reading config items from Rancher secrets
Open
#76 创建于 2017年5月9日
enhancementhelp wanted
仓库指标
- Star
- (324 star)
- PR 合并指标
- (PR 指标待抓取)
描述
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