From 3b1b99aaab3f176c742f4715c2a4c2db83a36da5 Mon Sep 17 00:00:00 2001 From: Andrii Mishkovskyi <548482+mishok13@users.noreply.github.com> Date: Mon, 2 Sep 2024 15:15:04 +0200 Subject: [PATCH] fix: correct user creation Unfortunately spaces around `=` in bash confuse the parser, gotta drop those. --- charts/sentry/templates/hooks/user-create.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/sentry/templates/hooks/user-create.yaml b/charts/sentry/templates/hooks/user-create.yaml index ada0fb704..d914da266 100644 --- a/charts/sentry/templates/hooks/user-create.yaml +++ b/charts/sentry/templates/hooks/user-create.yaml @@ -77,7 +77,7 @@ spec: args: - | set -e - emails = ({{ join " " .Values.user.emails }}) + emails=({{ join " " .Values.user.emails }}) for email in "${emails[@]}"; do sentry createuser --no-input --superuser --email "$email" --no-password --force-update; done