From d77262740be99125b5340e5f3dadc6b6b77bc633 Mon Sep 17 00:00:00 2001 From: Sylvain Coulombel Date: Fri, 13 Nov 2020 23:16:50 +0100 Subject: [PATCH] Env var are not updated after a secret update --- content/en/docs/concepts/configuration/secret.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/en/docs/concepts/configuration/secret.md b/content/en/docs/concepts/configuration/secret.md index 572072dd3e..887531d3bc 100644 --- a/content/en/docs/concepts/configuration/secret.md +++ b/content/en/docs/concepts/configuration/secret.md @@ -726,6 +726,11 @@ The output is similar to: 1f2d1e2e67df ``` +#### Environment variables are not updated after a secret update + +If a container already consumes a Secret in an environment variable, a Secret update will not be seen by the container unless it is restarted. +There are third party solutions for triggering restarts when secrets change. + ## Immutable Secrets {#secret-immutable} {{< feature-state for_k8s_version="v1.19" state="beta" >}}