From 36d896bf3721bb7a0d89998f81843f4d771d9fd7 Mon Sep 17 00:00:00 2001 From: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com> Date: Tue, 28 May 2024 13:22:15 +0200 Subject: [PATCH] chore(charts/substra-backend): bump chart version Signed-off-by: Thibault Camalon <135698225+thbcmlowk@users.noreply.github.com> --- charts/substra-backend/CHANGELOG.md | 11 +++++++++-- charts/substra-backend/Chart.yaml | 2 +- charts/substra-backend/templates/job-migrations.yaml | 4 ++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/charts/substra-backend/CHANGELOG.md b/charts/substra-backend/CHANGELOG.md index db943b5bd..b469a65e4 100644 --- a/charts/substra-backend/CHANGELOG.md +++ b/charts/substra-backend/CHANGELOG.md @@ -1,6 +1,13 @@ # Changelog + +## [26.6.6] - 2024-06-03 + +### Changed + +- Handle whitespaces in organization names during registration in migrations (#915) + ## [26.6.5] - 2024-05-29 ### Fixed @@ -12,7 +19,7 @@ ### Fixed - whitespace removal removed newline in `networkpolicy-orchestrator-client.yaml` (#914) - + ## [26.6.3] - 2024-05-27 ### Changed @@ -25,7 +32,7 @@ - Allow all ingress on server pod (#912) - Add a variable (`orchestrator.sameCluster`) to allow more communication between backend and orchestrator (#912) - + ## [26.6.1] - 2024-05-23 ### Fix diff --git a/charts/substra-backend/Chart.yaml b/charts/substra-backend/Chart.yaml index 4d0816fed..6b04d0a55 100644 --- a/charts/substra-backend/Chart.yaml +++ b/charts/substra-backend/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: substra-backend home: https://github.com/Substra -version: 26.6.5 +version: 26.6.6 appVersion: 0.45.0 kubeVersion: ">= 1.19.0-0" description: Main package for Substra diff --git a/charts/substra-backend/templates/job-migrations.yaml b/charts/substra-backend/templates/job-migrations.yaml index 0a56893f8..902c7ea15 100644 --- a/charts/substra-backend/templates/job-migrations.yaml +++ b/charts/substra-backend/templates/job-migrations.yaml @@ -47,9 +47,9 @@ spec: ## IncomingOrganization while IFS= read -r org_password; do # Extract the password as the last word - password=$(echo "$user_password" | awk '{print $NF}') + password=$(echo "$org_password" | awk '{print $NF}') # Extract the username by removing the last word - orgname=$(echo "$user_password" | sed 's/ [^ ]*$//') + orgname=$(echo "$org_password" | sed 's/ [^ ]*$//') ./manage.py create_incoming_organization "$orgname" "$password" done < /accounts/incoming_organizations