From d170d9efa43e1bec9b78d02b7464642404698cc3 Mon Sep 17 00:00:00 2001 From: Greg Lin Date: Thu, 26 Sep 2024 16:02:06 -0500 Subject: [PATCH] Update docs for Package Manager Postgres.UsageDataPassword bug --- charts/rstudio-pm/Chart.yaml | 2 +- charts/rstudio-pm/NEWS.md | 4 ++++ charts/rstudio-pm/README.md | 8 ++++++++ charts/rstudio-pm/README.md.gotmpl | 10 +++++++++- 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/charts/rstudio-pm/Chart.yaml b/charts/rstudio-pm/Chart.yaml index 0de29503..2c7ff0f9 100644 --- a/charts/rstudio-pm/Chart.yaml +++ b/charts/rstudio-pm/Chart.yaml @@ -1,6 +1,6 @@ name: rstudio-pm description: Official Helm chart for Posit Package Manager -version: 0.5.34 +version: 0.5.35 apiVersion: v2 appVersion: 2024.08.2 icon: https://rstudio.com/wp-content/uploads/2018/10/RStudio-Logo-Flat.png diff --git a/charts/rstudio-pm/NEWS.md b/charts/rstudio-pm/NEWS.md index bedbb286..cdb37dcd 100644 --- a/charts/rstudio-pm/NEWS.md +++ b/charts/rstudio-pm/NEWS.md @@ -1,5 +1,9 @@ # Changelog +## 0.5.35 + +- Update PostgreSQL configuration documentation to temporarily work around bug with `Postgres.UsageDataPassword` in Package Manager 2024.08.2. + ## 0.5.34 - Add `pod.securityContext.fsGroup = 999` value to set file permissions correctly when using shared storage. diff --git a/charts/rstudio-pm/README.md b/charts/rstudio-pm/README.md index e09c80ce..6c826b81 100644 --- a/charts/rstudio-pm/README.md +++ b/charts/rstudio-pm/README.md @@ -121,6 +121,14 @@ pod: secretKeyRef: name: rstudio-pm-database key: password + + # Temporarily work around bug in Package Manager 2024.08.2 where Postgres.UsageDataPassword + # does not default to Postgres.Password. This will be fixed in the next release of Package Manager. + - name: PACKAGEMANAGER_POSTGRES_USAGEDATAPASSWORD + valueFrom: + secretKeyRef: + name: rstudio-pm-database + key: password ``` Alternatively, database passwords may be set during `helm install` with the following argument: diff --git a/charts/rstudio-pm/README.md.gotmpl b/charts/rstudio-pm/README.md.gotmpl index 3a21608c..507993db 100644 --- a/charts/rstudio-pm/README.md.gotmpl +++ b/charts/rstudio-pm/README.md.gotmpl @@ -65,7 +65,15 @@ pod: - name: PACKAGEMANAGER_POSTGRES_PASSWORD valueFrom: secretKeyRef: - name: {{ .Name }}-database + name: rstudio-pm-database + key: password + + # Temporarily work around bug in Package Manager 2024.08.2 where Postgres.UsageDataPassword + # does not default to Postgres.Password. This will be fixed in the next release of Package Manager. + - name: PACKAGEMANAGER_POSTGRES_USAGEDATAPASSWORD + valueFrom: + secretKeyRef: + name: rstudio-pm-database key: password ```