-
Ensure the
KUBECONFIG
environment variable points to a management cluster with no HyperShift installed yet. -
Build HyperShift.
# requires go v1.16+ $ make build
-
Install HyperShift in development mode which causes the operator deployment to be deployment scaled to zero so that it doesn't conflict with your local operator process.
$ bin/hypershift install --development
-
Run the HyperShift operator locally.
$ bin/hypershift-operator run
-
Build and push a custom image build to your own repository.
make IMG=quay.io/my/hypershift:latest docker-build docker-push
-
Install HyperShift using the custom image:
$ bin/hypershift install --hypershift-image quay.io/my/hypershift:latest
-
Install HyperShift.
-
Run the tests.
$ make e2e $ bin/test-e2e -test.v -test.timeout 0 \ --e2e.aws-credentials-file /my/aws-credentials \ --e2e.pull-secret-file /my/pull-secret