janeczku/rancher-letsencrypt

Support for reading config items from Rancher secrets

Open

#76 aperta il 9 mag 2017

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Go (110 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (324 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor