Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.53
version: 0.5.54
apiVersion: v2
appVersion: 2025.12.0
icon: https://raw.githubusercontent.com/rstudio/helm/main/images/posit-icon-fullcolor.svg
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.54

- Add `deployment.annotations` to support user-defined annotations on the Deployment resource

## 0.5.53

- Update chart icon to Posit icon
Expand Down
7 changes: 4 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.53](https://img.shields.io/badge/Version-0.5.53-informational?style=flat-square) ![AppVersion: 2025.12.0](https://img.shields.io/badge/AppVersion-2025.12.0-informational?style=flat-square)
![Version: 0.5.54](https://img.shields.io/badge/Version-0.5.54-informational?style=flat-square) ![AppVersion: 2025.12.0](https://img.shields.io/badge/AppVersion-2025.12.0-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.53:
To install the chart with the release name `my-release` at version 0.5.54:

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

To explore other chart versions, look at:
Expand Down Expand Up @@ -202,6 +202,7 @@ The Helm `config` values are converted into the `rstudio-pm.gcfg` service config
| awsSecretAccessKey | string | `nil` | awsSecretAccessKey is the secret access key, needs to be filled if access_key_id is |
| command | bool | `false` | command is the pod's run command. By default, it uses the container's default |
| config | object | `{"HTTP":{"Listen":":4242"},"Metrics":{"Enabled":true}}` | config is a nested map of maps that generates the rstudio-pm.gcfg file |
| deployment.annotations | object | `{}` | Additional annotations to add to the rstudio-pm deployment |
| enableMigration | bool | `false` | Enable migrations for shared storage (if necessary) using Helm hooks. |
| enableSandboxing | bool | `true` | Enable sandboxing of Git builds, which requires elevated security privileges for the Package Manager container. |
| extraContainers | list | `[]` | sidecar container list |
Expand Down
4 changes: 4 additions & 0 deletions charts/rstudio-pm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ kind: Deployment
metadata:
name: {{ include "rstudio-pm.fullname" . }}
namespace: {{ $.Release.Namespace }}
{{- with .Values.deployment.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
strategy:
type: {{ .Values.strategy.type }}
Expand Down
24 changes: 24 additions & 0 deletions charts/rstudio-pm/tests/deployment_annotations_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
suite: test deployment annotations
templates:
- configmap.yaml
- secret-aws-creds.yaml
- secret-rstudio-pm-key.yaml
- deployment.yaml
tests:
- it: should not have annotations by default
template: deployment.yaml
asserts:
- notExists:
path: metadata.annotations
- it: should apply annotations when deployment.annotations is set
template: deployment.yaml
set:
deployment.annotations:
example.com/owner: "my-team"
example.com/environment: "production"
asserts:
- isSubset:
path: metadata.annotations
content:
example.com/owner: "my-team"
example.com/environment: "production"
4 changes: 4 additions & 0 deletions charts/rstudio-pm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ service:
# -- The port to forward to on the Package Manager pod. Also see pod.port
targetPort: 4242

deployment:
# -- Additional annotations to add to the rstudio-pm deployment
annotations: {}

# -- replicas is the number of replica pods to maintain for this service
replicas: 1
# -- awsAccessKeyId is the access key id for s3 access, used also to gate file creation
Expand Down
Loading