Skip to content

Commit

Permalink
chore: Add printout for environment (kyma-project#1245)
Browse files Browse the repository at this point in the history
  • Loading branch information
k15r authored Jul 3, 2024
1 parent 557f646 commit 50b378f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hack/make/provision.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ provision-k3d-istio: provision-k3d
# GARDENER_SECRET_NAME=
GIT_COMMIT_SHA=$(shell git rev-parse --short=8 HEAD)
UNAME=$(shell uname -s)
ifeq ($UNAME,Linux)
ifeq ($(UNAME),Linux)
export HIBERNATION_HOUR=$(shell date -d5H +%-H)
endif
ifeq ($UNAME,Darwin)
ifeq ($(UNAME),Darwin)
export HIBERNATION_HOUR=$(shell date -v+5H +%-H)
endif
GARDENER_K8S_VERSION ?= $(ENV_GARDENER_K8S_VERSION)
Expand All @@ -50,6 +50,7 @@ endif

.PHONY: provision-gardener
provision-gardener: ## Provision gardener cluster with latest k8s version
env
envsubst < hack/shoot_gcp.yaml | kubectl --kubeconfig "${GARDENER_SA_PATH}" apply -f -

echo "waiting fo cluster to be ready..."
Expand Down

0 comments on commit 50b378f

Please sign in to comment.