This repo has two components: a Kustomize secret generator plugin for Vault and a Dockerfile that exposes a version of kustomize that includes the plugin.
This Go plugin allows Kustomize to generate Kubernetes Secret manifests that contain secrets from Hashiciorp Vault. See the Kustomize Generating Secrets docs for more information about the mechanics.
The Dockerfile exposes a version of kustomize that includes the Vault plugin.
Usage:
docker run -it --rm \
-v (pwd):/working \
-e "VAULT_ADDR=XXX" -e "VAULT_TOKEN=XXX" \
kustomize build .