Skip to content

Commit

Permalink
fixed gardener provisioning make target to use correct env (#585)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfaizanse authored Jun 20, 2024
1 parent 31ac0a9 commit 588637f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions hack/ci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ KYMA_CLI ?= "${PROJECT_ROOT}/${KYMA}"
CLUSTER_NAME ?= kyma
REGISTRY_PORT ?= 5001
K3D_VERSION ?= 1.28.4
GARDENER_KUBE_VERSION ?= 1.28.4
GARDENER_CLUSTER_VERSION ?= 1.28.4

.PHONY: create-kyma-system-ns
create-kyma-system-ns: ## Create kyma-system namespace.
Expand Down Expand Up @@ -80,7 +80,7 @@ wait-api-gateway-cr-ready:

.PHONY: provision-gardener-cluster
provision-gardener-cluster:
GARDENER_CLUSTER_VERSION="${GARDENER_KUBE_VERSION}" PROJECT_ROOT="${PROJECT_ROOT}" ${PROJECT_ROOT}/scripts/gardener/aws/provision.sh
GARDENER_CLUSTER_VERSION="${GARDENER_CLUSTER_VERSION}" PROJECT_ROOT="${PROJECT_ROOT}" ${PROJECT_ROOT}/scripts/gardener/aws/provision.sh

.PHONY: deprovision-gardener-cluster
deprovision-gardener-cluster:
Expand Down
2 changes: 1 addition & 1 deletion scripts/gardener/aws/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ gardener::validate_and_default() {
utils::check_required_vars "${requiredVars[@]}"

# validations
if [ "${#CLUSTER_NAME}" -gt 9 ]; then
if [ "${CLUSTER_NAME}" -gt 9 ]; then
log::error "Provided cluster name is too long"
return 1
fi
Expand Down

0 comments on commit 588637f

Please sign in to comment.