rstudio / helm

Helm Resources for RStudio Products
MIT License
35 stars 28 forks source link

Pass database passwords as env variables from secrets #422

Open tnederlof opened 1 year ago

tnederlof commented 1 year ago

As discussed in https://github.com/rstudio/helm/issues/420 it would be ideal to manage database passwords as Kubernetes secrets and have the helm chart inject them as env variables into the correct container.

To accomplish this, Workbench will need to allow passwords to be set from env variables: https://github.com/rstudio/rstudio-pro/issues/5024

Connect and Package Manager already have the functionality. https://docs.posit.co/connect/admin/appendix/configuration/#environment-variables https://docs.posit.co/rspm/admin/appendix/configuration/#environment-variables