From 63e7a259e238bab84480a8b4a4b088e5516d7c26 Mon Sep 17 00:00:00 2001 From: Kristof Gyuracz Date: Mon, 5 Feb 2024 15:57:13 +0100 Subject: [PATCH] fix uninstall order Signed-off-by: Kristof Gyuracz --- README.md | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 93d1db67..2e5ce694 100644 --- a/README.md +++ b/README.md @@ -25,18 +25,6 @@ kubectl apply -f https://github.com/open-telemetry/opentelemetry-operator/releas make install ``` -**Build and push your image to the location specified by `IMG`:** - -```sh -make docker-build docker-push IMG=/telemetry-controller: -``` - -> **NOTE:** This image ought to be published in the personal registry you specified. -And it is required to have access to pull the image from the working environment. -Make sure you have the proper permission to the registry if the above commands don’t work. - -**OR** - **Build your image and load it to your KinD nodes** ```sh make docker-build IMG=telemetry-controller:latest @@ -46,7 +34,7 @@ kind load docker-image telemetry-controller:latest **Deploy the Manager to the cluster with the image specified by `IMG`:** ```sh -make deploy IMG=/telemetry-controller:tag +make deploy IMG=telemetry-controller:tag ``` > **NOTE**: If you encounter RBAC errors, you may need to grant yourself cluster-admin @@ -91,16 +79,16 @@ helm install --wait --create-namespace --namespace example-tenant-ns --generate- kubectl delete -f docs/examples/simple-demo/ ``` -**Delete the APIs(CRDs) from the cluster:** +**UnDeploy the controller from the cluster:** ```sh -make uninstall +make undeploy ``` -**UnDeploy the controller from the cluster:** +**Delete the APIs(CRDs) from the cluster:** ```sh -make undeploy +make uninstall ``` ## Contributing