From afc2645f9e8c89fd6fbffd13db9d931a5cd633b6 Mon Sep 17 00:00:00 2001 From: Melissa Barca Date: Thu, 28 Sep 2023 16:52:08 -0400 Subject: [PATCH] bumpo workbench to 2023.09.0 and adjust load balancing config accordingly --- charts/rstudio-workbench/Chart.yaml | 4 ++-- charts/rstudio-workbench/NEWS.md | 4 ++++ charts/rstudio-workbench/README.md | 6 +++--- charts/rstudio-workbench/prestart-workbench.bash | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/charts/rstudio-workbench/Chart.yaml b/charts/rstudio-workbench/Chart.yaml index 00646407..3f4c6e36 100644 --- a/charts/rstudio-workbench/Chart.yaml +++ b/charts/rstudio-workbench/Chart.yaml @@ -1,8 +1,8 @@ name: rstudio-workbench description: Official Helm chart for RStudio Workbench -version: 0.6.7 +version: 0.6.8 apiVersion: v2 -appVersion: 2023.06.1 +appVersion: 2023.09.0 icon: https://rstudio.com/wp-content/uploads/2018/10/RStudio-Logo-Flat.png home: https://www.rstudio.com sources: diff --git a/charts/rstudio-workbench/NEWS.md b/charts/rstudio-workbench/NEWS.md index 3bc71a22..4a5b3e65 100644 --- a/charts/rstudio-workbench/NEWS.md +++ b/charts/rstudio-workbench/NEWS.md @@ -1,3 +1,7 @@ +# 0.6.8 + +- Bump Workbench version to 2023.09.0 + # 0.6.7 - Add native session support for `pip.conf` diff --git a/charts/rstudio-workbench/README.md b/charts/rstudio-workbench/README.md index feffa7e2..00734a23 100644 --- a/charts/rstudio-workbench/README.md +++ b/charts/rstudio-workbench/README.md @@ -1,6 +1,6 @@ # RStudio Workbench -![Version: 0.6.7](https://img.shields.io/badge/Version-0.6.7-informational?style=flat-square) ![AppVersion: 2023.06.1](https://img.shields.io/badge/AppVersion-2023.06.1-informational?style=flat-square) +![Version: 0.6.8](https://img.shields.io/badge/Version-0.6.8-informational?style=flat-square) ![AppVersion: 2023.06.1](https://img.shields.io/badge/AppVersion-2023.06.1-informational?style=flat-square) #### _Official Helm chart for RStudio Workbench_ @@ -27,11 +27,11 @@ To ensure a stable production deployment, please: ## Installing the Chart -To install the chart with the release name `my-release` at version 0.6.7: +To install the chart with the release name `my-release` at version 0.6.8: ```bash helm repo add rstudio https://helm.rstudio.com -helm upgrade --install my-release rstudio/rstudio-workbench --version=0.6.7 +helm upgrade --install my-release rstudio/rstudio-workbench --version=0.6.8 ``` To explore other chart versions, take a look at: diff --git a/charts/rstudio-workbench/prestart-workbench.bash b/charts/rstudio-workbench/prestart-workbench.bash index ddbabcfb..aa903d33 100644 --- a/charts/rstudio-workbench/prestart-workbench.bash +++ b/charts/rstudio-workbench/prestart-workbench.bash @@ -24,7 +24,7 @@ main() { if [[ -n "$RSW_LOAD_BALANCING" ]]; then _logf "Enabling load-balancing by making sure that the /mnt/load-balancer/rstudio/load-balancer file exists" mkdir -p /mnt/load-balancer/rstudio/ - echo -e "balancer=sessions\nwww-host-name=$(hostname -i)" > /mnt/load-balancer/rstudio/load-balancer + echo -e "delete-node-on-exit=1\nwww-host-name=$(hostname -i)" > /mnt/load-balancer/rstudio/load-balancer fi _logf 'Preparing dirs'