We have laid out steps for contributing to the Azure Key Vault Provider for Secrets Store CSI Driver using the VS Code - Remote Container Extension
.
- Azure Subscription
Before we dive into setting up a remote container environment, fork and clone the repository first. Once cloned, enter into the root
folder of the project:
cd secrets-store-csi-driver-provider-azure
The VS Code Remote Container Extension utilizes the .devcontainer
folder to build a remote container that will have all necessary dependencies installed to contribute to the Azure Key Vault Provider for Secrets Store CSI Driver.
yq and jq
command line utilities for manipulating YAML and JSON filesAzure CLI
for access to your Azure Subscription- Your
.azure
folder on your host machine is mounted into the container, so you will be logged in to the same Azure Subscription.
- Your
kind
for to allow configuring and using KinD clustershelm
is installed to allow deployment of the Secrets Store CSI Driver and Provider helm charts- Go 1.15+
-
Open up the project in VS Code.
-
In the bottom-left corner of VS Code click on the remote window icon as shown below:
-
Select
Remote-Containers: Reopen in Container
from the drop-down list -
The Azure Key Vault Provider should now be opened inside a Remote Container!
- In the bottom-left you should see the tag updated to show:
Dev Container: Secrets Store CSI Driver Provider Azure
- Open the integrated terminal with
ctrl +
`. - You can open up a bash shell in the container such as shown below:
- In the bottom-left you should see the tag updated to show:
Your Environment is now set up using the VS Code Remote Devcontainer Extension.