Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit 254d071

Browse files
authored
Configure Env Vars with make run (#569)
1 parent aaed582 commit 254d071

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ manager: generate fmt vet
3333
# Run against the configured Kubernetes cluster in ~/.kube/config
3434
run: install
3535
$(KUSTOMIZE) build config/local_run | kubectl apply -n $(NAMESPACE) -f -
36+
eval $$(scripts/dev/get_e2e_env_vars.py $(cleanup)); \
3637
go run ./cmd/manager/main.go
3738

3839
# Install CRDs into a cluster

scripts/dev/get_e2e_env_vars.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def _get_e2e_test_envs(dev_config: DevConfig) -> Dict[str, str]:
2626
"TEST_NAMESPACE": dev_config.namespace,
2727
"READINESS_PROBE_IMAGE": f"{dev_config.repo_url}/{dev_config.readiness_probe_image}",
2828
"PERFORM_CLEANUP": "true" if cleanup else "false",
29+
"WATCH_NAMESPACE": dev_config.namespace,
2930
}
3031

3132

0 commit comments

Comments
 (0)