Skip to content

Commit 22004fa

Browse files
docs: add local build and deploy instructions to CONTRIBUTING.md (#1430)
- Added steps for building, loading Docker images, and deploying changes locally with Kind
1 parent fca0afa commit 22004fa

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

CONTRIBUTING.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,29 @@ The workflow defined above implies that the community is always ready for discus
3636

3737
Please keep this workflow in mind as you read through the document.
3838

39+
## How to Build and Deploy Locally
40+
41+
After creating a fork and cloning the project locally,
42+
you can follow the steps below to test your changes:
43+
44+
1. Create the cluster:
45+
46+
```sh
47+
kind create cluster operator-controller
48+
```
49+
50+
2. Build your changes:
51+
52+
```sh
53+
make build docker-build
54+
```
55+
56+
3. Load the image locally and Deploy to Kind
57+
58+
```sh
59+
make kind-load kind-deploy
60+
```
61+
3962
### Communication Channels
4063

4164
- Email: [operator-framework-olm-dev](mailto:operator-framework-olm-dev@googlegroups.com)

0 commit comments

Comments
 (0)