Add instructions for end-user deployment
This commit is contained in:
parent
62be67dfda
commit
8f40aee634
1
PROJECT
1
PROJECT
|
@ -1,6 +1,7 @@
|
||||||
domain: seaweedfs.com
|
domain: seaweedfs.com
|
||||||
layout: go.kubebuilder.io/v2
|
layout: go.kubebuilder.io/v2
|
||||||
repo: github.com/seaweedfs/seaweedfs-operator
|
repo: github.com/seaweedfs/seaweedfs-operator
|
||||||
|
projectName: seaweedfs-operator
|
||||||
resources:
|
resources:
|
||||||
- group: seaweed
|
- group: seaweed
|
||||||
kind: Seaweed
|
kind: Seaweed
|
||||||
|
|
18
README.md
18
README.md
|
@ -11,6 +11,24 @@ Goals:
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
This operator uses `kustomize` to deploy. The installation process will install one for you if you do not have one.
|
||||||
|
|
||||||
|
By default, the defaulting and validation webhooks are disabled. We strongly recommend that the webhooks be enabled.
|
||||||
|
|
||||||
|
First clone the repository:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ git clone https://github.com/seaweedfs/seaweedfs-operator --depth=1
|
||||||
|
```
|
||||||
|
|
||||||
|
To deploy the operator with webhooks enabled, follow the instructions in the `config/default/kustomization.yaml` file to uncomment the components you need.
|
||||||
|
|
||||||
|
Then run the command to deploy the operator into your cluster:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ make deploy
|
||||||
|
```
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
Follow the instructions in https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/
|
Follow the instructions in https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/
|
||||||
|
|
Loading…
Reference in New Issue