From f1b457215df1b548e130157b0a50ad2d5089edf5 Mon Sep 17 00:00:00 2001 From: Greg Lin Date: Thu, 26 Sep 2024 16:02:06 -0500 Subject: [PATCH 1/2] 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.gotmpl | 8 ++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) 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.gotmpl b/charts/rstudio-pm/README.md.gotmpl index 3a21608c..258e939f 100644 --- a/charts/rstudio-pm/README.md.gotmpl +++ b/charts/rstudio-pm/README.md.gotmpl @@ -67,6 +67,14 @@ pod: secretKeyRef: name: {{ .Name }}-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: {{ .Name }}-database + key: password ``` Alternatively, database passwords may be set during `helm install` with the following argument: From 40586b8b66d6160a29350100c49ea9ef906b5df4 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 27 Sep 2024 19:53:20 +0000 Subject: [PATCH 2/2] Update helm-docs and README.md --- charts/rstudio-pm/README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/charts/rstudio-pm/README.md b/charts/rstudio-pm/README.md index e09c80ce..9e3aca56 100644 --- a/charts/rstudio-pm/README.md +++ b/charts/rstudio-pm/README.md @@ -1,6 +1,6 @@ # Posit Package Manager -![Version: 0.5.34](https://img.shields.io/badge/Version-0.5.34-informational?style=flat-square) ![AppVersion: 2024.08.2](https://img.shields.io/badge/AppVersion-2024.08.2-informational?style=flat-square) +![Version: 0.5.35](https://img.shields.io/badge/Version-0.5.35-informational?style=flat-square) ![AppVersion: 2024.08.2](https://img.shields.io/badge/AppVersion-2024.08.2-informational?style=flat-square) #### _Official Helm chart for Posit Package Manager_ @@ -24,11 +24,11 @@ To ensure a stable production deployment: ## Installing the chart -To install the chart with the release name `my-release` at version 0.5.34: +To install the chart with the release name `my-release` at version 0.5.35: ```{.bash} helm repo add rstudio https://helm.rstudio.com -helm upgrade --install my-release rstudio/rstudio-pm --version=0.5.34 +helm upgrade --install my-release rstudio/rstudio-pm --version=0.5.35 ``` To explore other chart versions, look at: @@ -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: