Calendar Favorite 1 Streamline Icon: https://streamlinehq.com  Mark Your Calendars: The next VSecM Contributor Sync will be on... Thursday, 2024-08-30 at 8:00am Pacific time.
Rating Star 1 Streamline Icon: https://streamlinehq.com  Star VMware Secrets Manager to show your support. Help us reach out to even more people with this amazing tech.

Use the Source

Link Introduction

This section describes how to build VMware Secrets Manager from source.

For a more detailed walkthrough about how to contribute to VMware Secrets Manager, see the Contributing section.

Link Prerequisites

Make you have the following installed on your system:

Link Clone the Project

cd $WORKSPACE
git clone https://github.com/vmware-tanzu/secrets-manager.git
cd secrets-manager

Link Build the Project

Make sure you have a running local Docker daemon and execute the following:

make build-local

Link Generating Protocol Buffers

You might need to generate the protocol buffers if you are working on the VSecM API. To do so, execute the following:

make generate-proto-files

If this command fails, you might need to install the protoc compiler:

go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest

Link Updating Vendor Dependencies

If the project fails to build, you might need to update the vendor dependencies. To do so, execute the following on the project root:

cd $WORKSPACE/secrets-manager
go mod tidy
go mod vendor

Link That’s All

That’s it 🎉. You now have images of VMware Secrets Manager and other related components built locally on your Docker registry.

Link Next Up

For a more detailed guide about how you can use these local container images in your custer check out the Contributing section.

edit this page ✏️