From: garciadeblas Date: Thu, 31 Jul 2025 16:06:51 +0000 (+0200) Subject: Fix minor typo in generator_bootstrap_new_cluster leading to issues in some cases X-Git-Tag: v18.0.0~24 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F15307%2F1;p=osm%2Fdevops.git Fix minor typo in generator_bootstrap_new_cluster leading to issues in some cases Change-Id: Ic87d43e307119dddc85d4c146bbd484d8e35adfb Signed-off-by: garciadeblas --- diff --git a/docker/osm-krm-functions/scripts/library/krm-functions.rc b/docker/osm-krm-functions/scripts/library/krm-functions.rc index 1d457053..c006729b 100644 --- a/docker/osm-krm-functions/scripts/library/krm-functions.rc +++ b/docker/osm-krm-functions/scripts/library/krm-functions.rc @@ -577,7 +577,7 @@ function generator_k8s_age_secret_new_cluster() { # Generate bootstrap manifests for new cluster from the management cluster function generator_bootstrap_new_cluster() { local CLUSTER_NAME="$1" - local CLUSTER_KUSTOMIZATION_NAME="${2:$(safe_name ${CLUSTER_NAME})}" + local CLUSTER_KUSTOMIZATION_NAME="${2:-$(safe_name ${CLUSTER_NAME})}" local CLUSTER_AGE_SECRET_NAME="${3:-$(safe_name "sops-age-${CLUSTER_KUSTOMIZATION_NAME}")}" local SW_CATALOGS_REPO_DIR="${4:-"${SW_CATALOGS_REPO_DIR}"}"