dependency:
- hypershift source code in $GOPATH/src/github.com/openshift/hypershift
- tools go,aws,git,oc with $KUBECONFIG to an active OCP
The default env config file for the Makefile is ./makefile_config/default_aws.mk
You can change it using make switch-config
e.g.
$ make switch-config
Enter config file name:
$ ./makefile_config/heli_aws.mk
Switched to config file ./makefile_config/heli_aws.mk
- help
make help
- create a hosted cluster automatically
make create
- destory cluster and related resources
make clean
- create one s3 bucket
make create-s3
- delete one s3 bucket
make delete-s3
- hypershift install
make ho-install
- uninstall hypershift operator
make ho-uninstall
- hypershift create an aws hosted cluster
make create-aws
- destroy an aws hosted cluster
make destroy-aws
- build the latest hypershift cli
make build-cli
- build a release-4.13 hypershift cli
BRANCH=release-4.13 make build-cli
- build a hypershift cli based on PR 1234
PR_NUMBER=1234 make build-cli-pr
- delete all s3 buckets created by this repo (be careful!)
make clean-s3-all