Skip to content

Commit d7d2185

Browse files
authored
Fix the operator docs (#1116)
1 parent adbb55e commit d7d2185

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

cmd/thv-operator/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,12 +238,12 @@ kubebuilder create api --group toolhive --version v1alpha1 --kind MCPServer
238238

239239
Update CRD manifests after changing API types:
240240
```bash
241-
make manifests
241+
task operator-manifests
242242
```
243243

244244
Run the controller locally:
245245
```bash
246-
make run
246+
task operator-run
247247
```
248248

249249
#### Project Structure

cmd/thv-operator/Taskfile.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ tasks:
151151
- chainsaw test --test-dir test/e2e/chainsaw/operator/single-tenancy/test-scenarios
152152
- chainsaw test --test-dir test/e2e/chainsaw/operator/single-tenancy/cleanup
153153

154+
operator-run:
155+
desc: Run the operator controller locally
156+
cmds:
157+
- go run ./cmd/thv-operator
158+
154159
crdref-install:
155160
desc: Install elastic/crd-ref-docs
156161
cmds:

0 commit comments

Comments
 (0)