From 51e5807e4bb71f7a96ddda736fe7235350d8ad52 Mon Sep 17 00:00:00 2001 From: Kevin Rizza Date: Thu, 21 Sep 2023 15:34:01 -0400 Subject: [PATCH] Update README with simplified make target ref (#178) Signed-off-by: kevinrizza --- README.md | 41 ++++------------------------------------- 1 file changed, 4 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 7e78c16f8..ced6775b6 100644 --- a/README.md +++ b/README.md @@ -168,43 +168,10 @@ If you have any questions, feel free to reach out to us on the Kubernetes Slack **Prerequisites** - [Install kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation) -**Local (not on cluster)** -> **Note**: This will work *only* for the controller -- Create a cluster: -```sh -kind create cluster -``` -- Install CRDs and run the controller locally: -```sh -kubectl apply -f config/crd/bases/ && make run -``` +**Test it out** -**On Cluster** -- Build the images locally: -```sh -make docker-build-controller && make docker-build-server -``` -- Create a cluster: -```sh -kind create cluster -``` -- Load the images onto the cluster: ```sh -kind load docker-image quay.io/operator-framework/catalogd-controller:latest && kind load docker-image quay.io/operator-framework/catalogd-server:latest -``` -- Install cert-manager: -```sh - make cert-manager -``` -- Install the CRDs -```sh -kubectl apply -f config/crd/bases/ -``` -- Deploy the apiserver, etcd, and controller: -```sh -kubectl apply -f config/ -``` -- Create the sample Catalog (this will trigger the reconciliation loop): -```sh -kubectl apply -f config/samples/core_v1alpha1_catalog.yaml +make run ``` + +This will build a local container image for the catalogd controller, create a new KIND cluster and then deploy onto that cluster.