Skip to content

Commit

Permalink
Merge pull request #564 from rstudio/glin-ppm-db-d3
Browse files Browse the repository at this point in the history
Update docs for Package Manager Postgres.UsageDataPassword bug
  • Loading branch information
glin authored Oct 2, 2024
2 parents 76b4923 + 5b1ff62 commit 127de43
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/rstudio-pm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: rstudio-pm
description: Official Helm chart for Posit Package Manager
version: 0.5.35
version: 0.5.36
apiVersion: v2
appVersion: 2024.08.2
icon: https://rstudio.com/wp-content/uploads/2018/10/RStudio-Logo-Flat.png
Expand Down
4 changes: 4 additions & 0 deletions charts/rstudio-pm/NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.5.36

- Update the PostgreSQL configuration documentation to temporarily work around bug with `Postgres.UsageDataPassword` in Package Manager 2024.08.2.

## 0.5.35

- Move `pod.containerSecurityContext.fsGroup = 999` to `pod.securityContext.fsGroup` to resolve
Expand Down
14 changes: 11 additions & 3 deletions charts/rstudio-pm/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Posit Package Manager

![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)
![Version: 0.5.36](https://img.shields.io/badge/Version-0.5.36-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_

Expand All @@ -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.35:
To install the chart with the release name `my-release` at version 0.5.36:

```{.bash}
helm repo add rstudio https://helm.rstudio.com
helm upgrade --install my-release rstudio/rstudio-pm --version=0.5.35
helm upgrade --install my-release rstudio/rstudio-pm --version=0.5.36
```

To explore other chart versions, look at:
Expand Down Expand Up @@ -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:
Expand Down
8 changes: 8 additions & 0 deletions charts/rstudio-pm/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 127de43

Please sign in to comment.