Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Mountpoint Param #31

Merged
merged 1 commit into from
Apr 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,14 @@ Decrypted files have the suffix ".yaml.dec" by default

### Environment Variables

**Note:** The environment variables currently take precedent over passed flags, expect this to change in a later version.
**Note:** Flags take precedent over Environment Variables.

|Environment Variable|Default Value<br>(if unset)|Overview|Required|
|--------------------|---------------------------|--------|--------|
|`VAULT_ADDR`|`null`|The HTTP(S) address fo Vault|Yes|
|`VAULT_TOKEN`|`null`|The token used to authenticate with Vault|Yes|
|`VAULT_PATH`|`secret/helm`|The default path used within Vault||
|`VAULT_MOUNT_POINT`|`secret/data`|The default mountpoint used within Vault||
|`SECRET_DELIM`|`changeme`|The value which will be searched for within YAML to prompt for encryption/decryption||
|`SECRET_TEMPLATE`|`VAULT:`|Used for [Vault Path Templating](#vault-path-templating)||
|`EDITOR`| - Windows: `notepad` <br> - macOS/Linux: `vi`|The editor used when calling `helm vault edit`||
Expand Down Expand Up @@ -218,6 +219,12 @@ This is the path within Vault that secrets are stored. It should start with the

Default when not set: `secret/helm`, where `secret` is the secrets engine being used, and `helm` is the folder in which all secrets will be stored.
</details>
<summary>VAULT_MOUNT_POINT</summary>

This is the mountpoint within Vault that secrets are stored. Vault stores secrets in the following url format `/{mount_point}/data/{path}`. Mountpoint in this case could also include any namespaces, e.g. `namespace1/subnamespace/mountpoint` = `/namespace1/subnamespace/mountpoint/data/{path}`.

Default when not set: `secret`, where `secret` is the mountpoint being used.
</details>

<details>
<summary>SECRET_DELIM</summary>
Expand Down
Loading