Change-Id: Ic87d43e307119dddc85d4c146bbd484d8e35adfb
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
# 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}"}"