From b5f1027d07915fa8ebd039d4aa6900b346a9c395 Mon Sep 17 00:00:00 2001 From: Nicola Kabar Date: Mon, 29 Nov 2021 16:57:19 -0600 Subject: [PATCH] docs: added minor recommendation for k8s agent annotations (#13239) Co-authored-by: Theron Voran --- website/content/docs/platform/k8s/injector/annotations.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/content/docs/platform/k8s/injector/annotations.mdx b/website/content/docs/platform/k8s/injector/annotations.mdx index df959a769..b477e0ea8 100644 --- a/website/content/docs/platform/k8s/injector/annotations.mdx +++ b/website/content/docs/platform/k8s/injector/annotations.mdx @@ -137,7 +137,8 @@ them, optional commands to run, etc. - `vault.hashicorp.com/agent-pre-populate-only` - configures whether an init container is the only injected container. If true, no sidecar container will be injected - at runtime of the pod. + at runtime of the pod. Enabling this option is recommended for workloads of + type `CronJob` or `Job` to ensure a clean pod termination. - `vault.hashicorp.com/preserve-secret-case` - configures Vault Agent to preserve the secret name case when creating the secret files. This should be set to a `true`