deis / workflow-manager

Deis Workflow Manager: Cluster First Aid
MIT License
14 stars 15 forks source link

app config vars should look like WORKFLOW_MANAGER_ENV_VAR #10

Closed jackfrancis closed 8 years ago

jackfrancis commented 8 years ago

as per @arschles there's a clean way to use go-friendly field names that point to bash-friendly env var keys:

there is a envconfig:"MY_ENV_VAR" struct tag that you can use, which makes envconfig look for MY_ENV_VAR and assign its value to that field.

jackfrancis commented 8 years ago

Make sure to update the workflow-manager chart(s) accordingly.