https://github.com/libopenstorage/operator
Storage operator for Kubernetes
https://github.com/libopenstorage/operator
Last synced: about 1 year ago
JSON representation
Storage operator for Kubernetes
- Host: GitHub
- URL: https://github.com/libopenstorage/operator
- Owner: libopenstorage
- Created: 2018-12-13T22:52:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-21T18:45:52.000Z (about 2 years ago)
- Last Synced: 2024-05-21T18:51:35.997Z (about 2 years ago)
- Language: Go
- Size: 40.6 MB
- Stars: 43
- Watchers: 23
- Forks: 33
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: licenses/LICENSE
Awesome Lists containing this project
README
[](https://app.travis-ci.com/libopenstorage/operator)
[](https://codecov.io/gh/libopenstorage/operator)
# Openstorage Operator
Operator to manage storage cluster in Kubernetes
# Development
## Clone the operator repository
```sh
git clone git@github.com:libopenstorage/operator.git
cd operator
```
## Build operator
```sh
make downloads all
```
Troubleshooting:
Do not modify `$GOBIN` -- this build process depends on installing and using linter-tools (i.e. `staticcheck`) from the default `$GOPATH/bin`.
Q: I'm getting the following warning during the build:
```
WARNING: Tool /go/bin/my-linter-tool compiled with go1.20.10 (you are using go1.21.4)
```
A: To fix this, just remove the binary, and the build-process should automatically rebuild the tool using your current golang compiler.
## Build operator container
Set environment variables
```sh
export DOCKER_HUB_REPO=
```
## Build container and push container
```sh
make container deploy
```