Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kind: bump to v0.20.0 & use bin/kind binary for makefile commands #412

Merged
merged 1 commit into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install jq
run: sudo apt-get install jq
- name: Install kind
run: go install sigs.k8s.io/kind@v0.11.1
run: go install sigs.k8s.io/kind@v0.20.0
- name: Create kind cluster
run: kind create cluster --name authorino-smoke-tests
- name: Install cert-manager
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ benchstat: ## Installs benchstat in $PROJECT_DIR/bin

KIND = $(PROJECT_DIR)/bin/kind
kind: ## Installs kind in $PROJECT_DIR/bin
$(call go-get-tool,$(KIND),sigs.k8s.io/kind@v0.11.1)
$(call go-get-tool,$(KIND),sigs.k8s.io/kind@v0.20.0)

ifeq ($(shell uname),Darwin)
SED=$(shell which gsed)
Expand Down Expand Up @@ -245,10 +245,10 @@ deploy: certs sed ## Deploys an instance of Authorino into the Kubernetes cluste

KIND_CLUSTER_NAME ?= authorino
cluster: kind ## Starts a local Kubernetes cluster using Kind
kind create cluster --name $(KIND_CLUSTER_NAME)
$(KIND) create cluster --name $(KIND_CLUSTER_NAME)

local-build: kind docker-build ## Builds an image based on the current branch and pushes it to the registry into the local Kubernetes cluster started with Kind
kind load docker-image $(AUTHORINO_IMAGE) --name $(KIND_CLUSTER_NAME)
$(KIND) load docker-image $(AUTHORINO_IMAGE) --name $(KIND_CLUSTER_NAME)

local-setup: cluster local-build cert-manager install-operator install namespace deploy user-apps ## Sets up a test/dev local Kubernetes server using Kind, loaded up with a freshly built Authorino image and apps
kubectl -n $(NAMESPACE) wait --timeout=300s --for=condition=Available deployments --all
Expand All @@ -262,4 +262,4 @@ local-rollout: local-build ## Rebuilds and pushes the docker image to the local
kubectl -n $(NAMESPACE) rollout restart deployment/authorino

local-cleanup: kind ## Deletes the local Kubernetes cluster started using Kind
kind delete cluster --name $(KIND_CLUSTER_NAME)
$(KIND) delete cluster --name $(KIND_CLUSTER_NAME)
Loading