From b3ad3cb540d1c7c48b67d3e09c78709399295aab Mon Sep 17 00:00:00 2001 From: Hannah Pullen <117818099+hannahpullen@users.noreply.github.com> Date: Wed, 24 Jul 2024 13:55:05 +0100 Subject: [PATCH] Update mjs-configmap.yaml v1.1.0 patch - fix worker script --- chart/mjs/templates/mjs-configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/mjs/templates/mjs-configmap.yaml b/chart/mjs/templates/mjs-configmap.yaml index 78ec033..1fd6f57 100644 --- a/chart/mjs/templates/mjs-configmap.yaml +++ b/chart/mjs/templates/mjs-configmap.yaml @@ -64,7 +64,7 @@ data: chmod o+w "${LOGBASE}" # Create a user to run MATLAB as - useradd --create-home {{ .Values.workerUsername }} + useradd --create-home {{ .Values.workerUsername }} || echo "User {{ .Values.workerUsersname }} already exists" echo {{ printf "%s:%s" .Values.workerUsername .Values.workerPassword }} | chpasswd # Start the MJS service