diff --git a/charts/rstudio-connect/Chart.yaml b/charts/rstudio-connect/Chart.yaml index c005b8cf9..88258b7cb 100644 --- a/charts/rstudio-connect/Chart.yaml +++ b/charts/rstudio-connect/Chart.yaml @@ -1,6 +1,6 @@ name: rstudio-connect description: Official Helm chart for Posit Connect -version: 0.8.23 +version: 0.8.24 apiVersion: v2 appVersion: 2026.01.1 icon: https://raw.githubusercontent.com/rstudio/helm/main/images/posit-icon-fullcolor.svg diff --git a/charts/rstudio-connect/NEWS.md b/charts/rstudio-connect/NEWS.md index ada993fc6..7f72ebc5e 100644 --- a/charts/rstudio-connect/NEWS.md +++ b/charts/rstudio-connect/NEWS.md @@ -1,5 +1,9 @@ # Changelog +## 0.8.24 + +- Fix bug in chart where launcher.templateValues.pod.securityContext did not respect configuration and complex mappings lead to launcher errors. + ## 0.8.23 - Bump Connect version to 2026.01.1 diff --git a/charts/rstudio-connect/README.md b/charts/rstudio-connect/README.md index dc926b3e1..c0462cc03 100644 --- a/charts/rstudio-connect/README.md +++ b/charts/rstudio-connect/README.md @@ -1,6 +1,6 @@ # Posit Connect -![Version: 0.8.23](https://img.shields.io/badge/Version-0.8.23-informational?style=flat-square) ![AppVersion: 2026.01.1](https://img.shields.io/badge/AppVersion-2026.01.1-informational?style=flat-square) +![Version: 0.8.24](https://img.shields.io/badge/Version-0.8.24-informational?style=flat-square) ![AppVersion: 2026.01.1](https://img.shields.io/badge/AppVersion-2026.01.1-informational?style=flat-square) #### _Official Helm chart for Posit Connect_ @@ -30,11 +30,11 @@ To ensure reproducibility in your environment and insulate yourself from future ## Installing the chart -To install the chart with the release name `my-release` at version 0.8.23: +To install the chart with the release name `my-release` at version 0.8.24: ```{.bash} helm repo add rstudio https://helm.rstudio.com -helm upgrade --install my-release rstudio/rstudio-connect --version=0.8.23 +helm upgrade --install my-release rstudio/rstudio-connect --version=0.8.24 ``` To explore other chart versions, look at: diff --git a/charts/rstudio-connect/files/job.tpl b/charts/rstudio-connect/files/job.tpl index 81992cb99..e956271a5 100644 --- a/charts/rstudio-connect/files/job.tpl +++ b/charts/rstudio-connect/files/job.tpl @@ -136,13 +136,11 @@ spec: {{- $groupIds = append $groupIds . }} {{- end }} {{- $_ := set $securityContext "supplementalGroups" (cat "[" ($groupIds | join ", ") "]") }} - {{- $securityContext := mergeOverwrite $securityContext $templateData.pod.securityContext }} {{- end }} {{- if $securityContext }} + {{- $securityContext := mergeOverwrite $securityContext $templateData.pod.securityContext }} securityContext: - {{- range $key, $val := $securityContext }} - {{ $key }}: {{ $val }} - {{- end }} + {{- toYaml $securityContext | nindent 8 }} {{- end }} {{- with $templateData.pod.imagePullSecrets }} imagePullSecrets: {{ toYaml . | nindent 12 }}