/vngcloud-csi-volume-modifier

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

Primary LanguageGoMozilla Public License 2.0MPL-2.0

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