Skip to content

Commit

Permalink
README: fix installation instructions (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
assafad1 authored Sep 19, 2024
1 parent 0b2a7b4 commit b8f0604
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,27 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
make install
```

2. Install Instances of Custom Resources:

2. Add the api key and region as environment variables (or later as flags):
```sh
kubectl apply -f config/samples/
$ export CORALOGIX_API_KEY="<api-key>"
$ export CORALOGIX_REGION="<region>"
```

3. Build and push your image to the location specified by `IMG`:

```sh
make docker-build docker-push IMG=<some-registry>/coralogix-operator:tag
```

4. Deploy the controller to the cluster with the image specified by `IMG`:

4. Deploy the controller to the cluster with the image specified by `IMG`:
```sh
make deploy IMG=<some-registry>/coralogix-operator:tag
```

5. Install custom resources samples into the cluster:
```sh
kubectl apply -R -f config/samples/
```

### Uninstall CRDs
To delete the CRDs from the cluster:

Expand Down

0 comments on commit b8f0604

Please sign in to comment.