From e86ac8494ff592dc923b20b770799f2610fe5bdd Mon Sep 17 00:00:00 2001 From: Raul Mahiques <18713435+rmahique@users.noreply.github.com> Date: Tue, 29 Oct 2024 16:17:27 +0100 Subject: [PATCH] changes (#24) * added missing --create-namespace * Update ds389.sh --- scripts/authentication/ds389.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/authentication/ds389.sh b/scripts/authentication/ds389.sh index 855ee49..4734827 100644 --- a/scripts/authentication/ds389.sh +++ b/scripts/authentication/ds389.sh @@ -115,9 +115,9 @@ function ds389_install() { # installs the chart with default parameters if [[ -f values.yaml ]] then - helm upgrade --install ds389 --namespace ds389 suse-lab-setup/ds389 -f values.yaml + helm upgrade --install ds389 --namespace ds389 --create-namespace suse-lab-setup/ds389 -f values.yaml else - helm upgrade --install ds389 --namespace ds389 suse-lab-setup/ds389 + helm upgrade --install ds389 --namespace ds389 --create-namespace suse-lab-setup/ds389 fi sleep 60 ds389_restrict_permissions "${_ldap_uri}" "${_ldap_basedn}" "${_admin_user}" "${_admin_pwd}" @@ -130,6 +130,6 @@ function ds389_install() { # ds389_uninstall ####################################### function ds389_uninstall() { - helm uninstall ds389 + helm uninstall ds389 -n ds389 sleep 15 }