In favour of Vault Agent Template
Vault Secret Fetcher sidecar container for kubernetes applications
Usage:
vault-secret-fetcher [command]
Available Commands:
start start retrieves credentials managed by the vault agent
help Help about any command
Flags:
-h, --help help for vault-secret-fetcher
Use "vault-secret-fetcher [command] --help" for more information about a command.
NAME | DEFAULT | DESCRIPTION |
---|---|---|
LOG_LEVEL | INFO | Log level from logrus |
VAULT_ADDR | Vault Address | |
VAULT_CAPATH | Vault CA | |
VAULT_TOKEN | Vault Agent sink file path | |
VAULT_SECRET | Vault Secret to retrieve, CSV format | |
VAULT_INSECURE | false | Vault TLS Skip Verify |
VAULT_SECRET_FETCHER_CRON | 1 * * * * * | Cron Scheduler for the secret fetcher |
PROPERTIES_FILE | Target properties file to save the decrypted secret |
-
Build
oc project openshift oc new-build --name vault-secret-fetcher https://github.com/openlab-red/vault-secret-fetcher
-
Check the Image Stream.
oc get is vault-secret-fetcher