Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2022-08-11 09:35:57 +01:00
parent 375ae575e5
commit 5b3cbc4cbd
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78

View File

@ -63,13 +63,13 @@ case $NAMESPACE in org-*)
NAMESPACE=${NAMESPACE#"org-"} NAMESPACE=${NAMESPACE#"org-"}
esac esac
CAPI_CLUSTER="--provider aws --release ${RELEASE}" CAPA_CLUSTER="--provider aws --release ${RELEASE}"
CAPZ_CLUSTER="--provider azure --release ${RELEASE}" CAPZ_CLUSTER="--provider azure --release ${RELEASE}"
CAPG_CLUSTER="--provider gcp --gcp-project giantswarm-352614 --region europe-west3 --gcp-failure-domains europe-west3-a --gcp-machine-deployment-failure-domain europe-west3-a" CAPG_CLUSTER="--provider gcp --gcp-project giantswarm-352614 --region europe-west3 --gcp-failure-domains europe-west3-a --gcp-machine-deployment-failure-domain europe-west3-a"
TEMPLATE_ARGS="--name ${NAME:0:5} --organization ${NAMESPACE}" TEMPLATE_ARGS="--name ${NAME:0:5} --organization ${NAMESPACE}"
case "${PROVIDER}" in case "${PROVIDER}" in
aws) aws)
TEMPLATE_ARGS="${TEMPLATE_ARGS} ${CAPI_CLUSTER}" TEMPLATE_ARGS="${TEMPLATE_ARGS} ${CAPA_CLUSTER}"
;; ;;
gcp) gcp)
TEMPLATE_ARGS="${TEMPLATE_ARGS} ${CAPG_CLUSTER}" TEMPLATE_ARGS="${TEMPLATE_ARGS} ${CAPG_CLUSTER}"