Add docs for vault-k8s JSON patch (#17712)
From https://github.com/hashicorp/vault-k8s/pull/399 Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
This commit is contained in:
parent
0217f7de65
commit
9724f2860d
|
@ -215,6 +215,14 @@ them, optional commands to run, etc.
|
|||
|
||||
- `vault.hashicorp.com/go-max-procs` - set the `GOMAXPROCS` environment variable for injected agents
|
||||
|
||||
- `vault.hashicorp.com/agent-json-patch` - change the injected agent sidecar container using a [JSON patch](https://jsonpatch.com/) before it is created.
|
||||
This can be used to add, remove, or modify any attribute of the container.
|
||||
For example, setting this to `[{"op": "replace", "path": "/name", "value": "different-name"}]` will update the agent container's name to be `different-name`
|
||||
instead of the default `vault-agent`.
|
||||
|
||||
- `vault.hashicorp.com/agent-init-json-patch` - same as `vault.hashicorp.com/agent-json-patch`, except that the JSON patch will be applied to the
|
||||
injected init container instead.
|
||||
|
||||
## Vault Annotations
|
||||
|
||||
Vault annotations change how the Vault Agent containers communicate with Vault. For
|
||||
|
|
Loading…
Reference in New Issue