Skip to content
Open
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 Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ setup-test-e2e: kind ## Set up a Kind cluster for e2e tests if it does not exist

# E2E test dependency versions
E2E_PROMETHEUS_OPERATOR_VERSION ?= v0.82.2
E2E_CERTMANAGER_VERSION ?= v1.17.2
E2E_CERTMANAGER_VERSION ?= v1.21.0

.PHONY: test-e2e
test-e2e: setup-test-e2e manifests generate ## Run the e2e tests. Expected an isolated environment using Kind.
Expand Down
5 changes: 4 additions & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ watch_settings(ignore=['**/*/zz_generated.deepcopy.go', 'config/crd/bases/*'])

allow_k8s_contexts(['minikube', 'kind-network-operator'])

cluster_name = str(local('kubectl config current-context', quiet=True)).strip()
is_kind = cluster_name.startswith('kind-')

load('ext://cert_manager', 'deploy_cert_manager')
deploy_cert_manager(version='v1.18.2')
deploy_cert_manager(version='v1.21.0', load_to_kind=is_kind, kind_cluster_name=cluster_name.removeprefix('kind-'))

docker_build('controller:latest', '.', only=[
'api/', 'cmd/', 'internal/', 'go.mod', 'go.sum'
Expand Down
Loading