rstudio / helm

Helm Resources for RStudio Products
MIT License
30 stars 27 forks source link

workbench: Add database config and pass as env variable to README #514

Closed tnederlof closed 1 month ago

tnederlof commented 1 month ago

This PR relates to https://github.com/rstudio/helm/issues/422 by providing customers guidance on how to configure and set database passwords consistently and in a Kubernetes-friendly way across products.

The docs added show how to configure the database and set up PostgreSQL database passwords as env variables from K8s secrets in Workbench. This is now possible since Workbench supports setting the database password as an env variable in the 2024.04.0 release. Similar changes are being submitted for each of the products.

Currently, admins need to either set the password in the values or imperatively during helm install. Both are not very k8s native ways of doing things.

This PR is already inflight for Admin install doc changes: https://github.com/rstudio/rstudio-pro/pull/6316