https://github.com/zwwhdls/csibuilder
csibuilder - SDK for building CSI Driver
https://github.com/zwwhdls/csibuilder
Last synced: about 1 year ago
JSON representation
csibuilder - SDK for building CSI Driver
- Host: GitHub
- URL: https://github.com/zwwhdls/csibuilder
- Owner: zwwhdls
- License: apache-2.0
- Created: 2022-09-05T03:28:39.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-22T12:35:16.000Z (over 2 years ago)
- Last Synced: 2025-03-18T07:21:22.006Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 6.61 MB
- Stars: 31
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## CSIbuilder
CSIbuilder is an SDK for building Kubernetes CSI Driver.
Similar to Kubebuilder, CSIbuilder does **not** exist as an example to *copy-paste*, but instead provides powerful
libraries and tools to simplify building and publishing Kubernetes CSI Driver from scratch.
### Installation
It is strongly recommended that you use a released version. Release binaries are available on
the [releases](https://github.com/zwwhdls/csibuilder/releases) page.
Install CSIbuilder:
```bash
# download csibuilder and install locally.
curl -L -o csibuilder.tar https://github.com/zwwhdls/csibuilder/releases/download/v0.1.0/csibuilder-darwin-amd64.tar
tar -zxvf csibuilder.tar && chmod +x csibuilder && mv csibuilder /usr/local/bin/
```
### Getting Started
Only two steps to create a CSI Driver project:
1. initialize a project
```bash
# init your project
export GO111MODULE=on
mkdir $GOPATH/src/csi-hdls
cd $GOPATH/src/csi-hdls
# init csi repo
go env -w GOSUMDB=sum.golang.google.cn
csibuilder init --repo hdls --owner "zwwhdls"
```
2. create a csi driver
```bash
# create csi
csibuilder create --csi hdls
```