Skip to content

Commit

Permalink
Add instructions for end-user deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
howardlau1999 committed Nov 15, 2020
1 parent 62be67d commit 8f40aee
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions PROJECT
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
domain: seaweedfs.com
layout: go.kubebuilder.io/v2
repo: github.com/seaweedfs/seaweedfs-operator
projectName: seaweedfs-operator
resources:
- group: seaweed
kind: Seaweed
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,24 @@ Goals:

## 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

Follow the instructions in https://sdk.operatorframework.io/docs/building-operators/golang/quickstart/
Expand Down

0 comments on commit 8f40aee

Please sign in to comment.