From f183476d6e0d5a9b53878ee37eb459348399e9ae Mon Sep 17 00:00:00 2001 From: calebAtIspot <136127709+calebAtIspot@users.noreply.github.com> Date: Sun, 19 May 2024 15:02:03 -0700 Subject: [PATCH 1/4] Update deployment.yaml fix https://github.com/rstudio/helm/issues/424 --- charts/rstudio-pm/templates/deployment.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/charts/rstudio-pm/templates/deployment.yaml b/charts/rstudio-pm/templates/deployment.yaml index f7fff44c..5f4cb479 100644 --- a/charts/rstudio-pm/templates/deployment.yaml +++ b/charts/rstudio-pm/templates/deployment.yaml @@ -5,10 +5,13 @@ metadata: name: {{ include "rstudio-pm.fullname" . }} namespace: {{ $.Release.Namespace }} spec: - {{- with .Values.strategy }} strategy: - {{- toYaml . | nindent 4 }} - {{- end }} + type: {{ .Values.strategy.type }} + {{- if eq .Values.strategy.type "RollingUpdate" }} + rollingUpdate: + maxUnavailable: {{ .Values.strategy.rollingUpdate.maxUnavailable }} + maxSurge: {{ .Values.strategy.rollingUpdate.maxSurge }} + {{- end }} replicas: {{ .Values.replicas }} selector: matchLabels: From c841805bb90534d77e1fe79827ac534568237d77 Mon Sep 17 00:00:00 2001 From: Trevor Nederlof Date: Wed, 22 May 2024 14:16:03 -0400 Subject: [PATCH 2/4] Bump chart version and add NEWS --- charts/rstudio-pm/Chart.yaml | 2 +- charts/rstudio-pm/NEWS.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/rstudio-pm/Chart.yaml b/charts/rstudio-pm/Chart.yaml index 76a4357d..810015f2 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 RStudio Package Manager -version: 0.5.25 +version: 0.5.26 apiVersion: v2 appVersion: 2024.04.0 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 491bdc2b..98a3eebf 100644 --- a/charts/rstudio-pm/NEWS.md +++ b/charts/rstudio-pm/NEWS.md @@ -1,5 +1,9 @@ # Changelog +## 0.5.26 + +- Update `strategy` section of `deployment.yaml` template to be consistent with other products. `RollingUpdate` is still the default strategy. + ## 0.5.25 - Update default Posit Package Manager version to 2024.04.0-20 From f47f78fbb5154e37acdb636211a833b4534110e1 Mon Sep 17 00:00:00 2001 From: Trevor Nederlof Date: Wed, 22 May 2024 14:24:54 -0400 Subject: [PATCH 3/4] Update NEWS --- charts/rstudio-pm/NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/rstudio-pm/NEWS.md b/charts/rstudio-pm/NEWS.md index 48f42cd9..5164869a 100644 --- a/charts/rstudio-pm/NEWS.md +++ b/charts/rstudio-pm/NEWS.md @@ -2,7 +2,7 @@ ## 0.5.27 -- Update `strategy` section of `deployment.yaml` template to be consistent with other products. `RollingUpdate` is still the default strategy. +- Update `strategy` section of `deployment.yaml` template to be consistent with other Posit products. `RollingUpdate` is still the default strategy. ## 0.5.26 From eed71163dbc13bd65bc8f05a52f7eae51408b605 Mon Sep 17 00:00:00 2001 From: Trevor Nederlof Date: Wed, 22 May 2024 15:21:24 -0400 Subject: [PATCH 4/4] Update README manual --- charts/rstudio-pm/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/rstudio-pm/README.md b/charts/rstudio-pm/README.md index abc3f0b3..d93c36b9 100644 --- a/charts/rstudio-pm/README.md +++ b/charts/rstudio-pm/README.md @@ -1,6 +1,6 @@ # Posit Package Manager -![Version: 0.5.26](https://img.shields.io/badge/Version-0.5.26-informational?style=flat-square) ![AppVersion: 2024.04.0](https://img.shields.io/badge/AppVersion-2024.04.0-informational?style=flat-square) +![Version: 0.5.27](https://img.shields.io/badge/Version-0.5.27-informational?style=flat-square) ![AppVersion: 2024.04.0](https://img.shields.io/badge/AppVersion-2024.04.0-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.26: +To install the chart with the release name `my-release` at version 0.5.27: ```{.bash} helm repo add rstudio https://helm.rstudio.com -helm upgrade --install my-release rstudio/rstudio-pm --version=0.5.26 +helm upgrade --install my-release rstudio/rstudio-pm --version=0.5.27 ``` To explore other chart versions, look at: