Access to a Kubernetes cluster is needed in order to install the kpack controllers.
kubectl cluster-info # ensure you have access to a cluster
./hack/apply.sh <IMAGE/NAME> # <IMAGE/NAME> is a writable and publicly accessible location
-
To run the e2e tests, kpack must be installed and running on a cluster
-
The KPACK_TEST_NAMESPACE_LABELS environment variable allows you define additional labels for the test namespace, e.g.
export KPACK_TEST_NAMESPACE_LABELS="istio-injection=disabled,purpose=test"
- The IMAGE_REGISTRY environment variable must point at a registry with local write access
IMAGE_REGISTRY=gcr.io/<some-project> go test ./...