-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dcb2878
commit 0eff48f
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Contribution | ||
|
||
Thanks for taking the time to contribute to metabase-operator. | ||
|
||
## How to make PR | ||
|
||
You can create a PR into `main` when your feature is ready. We will review it within 2 days. | ||
|
||
## Local development with minikube | ||
|
||
1. To try a new feature, first create a minikube cluster. | ||
```bash | ||
minikube start | ||
``` | ||
2. Clone this repository. | ||
```bash | ||
git clone git@github.com:unagex/metabase-operator.git | ||
cd metabase-operator | ||
``` | ||
3. Make your changes in the code. | ||
4. Run the binary against the minikube cluster with the following command. There is no need to build the docker image. | ||
```bash | ||
make install run | ||
``` | ||
You should see the following log: | ||
![image](./local-dev.png) | ||
5. The operator is now running on minikube, you can create the custom resource and see how the operator handles it. | ||
```bash | ||
kubectl apply -f config/samples/v1_metabase.yaml | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.