Skip to content

Sidecar container running along with vngcloud-blockstorage-csi-driver controller to provide changing volume type of inflight persistent volumes

License

Notifications You must be signed in to change notification settings

vngcloud/vngcloud-csi-volume-modifier

Repository files navigation

vngcloud-csi-volume-modifier


DEV - Package vngcloud-csi-volume-modifier into container image on DEV branch

PROD - Package vngcloud-csi-volume-modifier into container image on MAIN branch

RELEASE - Release vngcloud-csi-volume-modifier project

Configuration

  • This setup is in the Ubuntu-22.04 environment.
    sudo apt install protobuf-compiler -y && \
    go install google.golang.org/protobuf/cmd/protoc-gen-go && \
    go install google.golang.org/grpc/cmd/protoc-gen-go-grpc && \
    export PATH="$PATH:$(go env GOPATH)/bin"

Generate the *.proto file

  • Run the following command to generate the *.pb.go file (Make sure complete section Configuration before run this command)
    make proto

Build the Docker image

  • Run the following command to build the Docker image
    make docker-build && make docker-push