Skip to content

Commit 6a5fb15

Browse files
nicolakatvoran
andauthored
docs: added minor recommendation for k8s agent annotations (#13239)
Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
1 parent b3a4613 commit 6a5fb15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

website/content/docs/platform/k8s/injector/annotations.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ them, optional commands to run, etc.
137137

138138
- `vault.hashicorp.com/agent-pre-populate-only` - configures whether an init container
139139
is the only injected container. If true, no sidecar container will be injected
140-
at runtime of the pod.
140+
at runtime of the pod. Enabling this option is recommended for workloads of
141+
type `CronJob` or `Job` to ensure a clean pod termination.
141142

142143
- `vault.hashicorp.com/preserve-secret-case` - configures Vault Agent to preserve
143144
the secret name case when creating the secret files. This should be set to a `true`

0 commit comments

Comments
 (0)