From 17c2203b9d67217ee4585ca1fde445dbb2ecfefd Mon Sep 17 00:00:00 2001 From: Catherine Luse Date: Thu, 2 Apr 2020 01:28:31 -0700 Subject: [PATCH] Say that mounted secrets are updated automatically --- content/rancher/v2.x/en/k8s-in-rancher/secrets/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/rancher/v2.x/en/k8s-in-rancher/secrets/_index.md b/content/rancher/v2.x/en/k8s-in-rancher/secrets/_index.md index e89708abae1..e251e88271b 100644 --- a/content/rancher/v2.x/en/k8s-in-rancher/secrets/_index.md +++ b/content/rancher/v2.x/en/k8s-in-rancher/secrets/_index.md @@ -11,7 +11,7 @@ aliases: When configuring a workload, you'll be able to choose which secrets to include. Like config maps, secrets can be referenced by workloads as either an environment variable or a volume mount. -Any update to an active secrets won't automatically update the pods that are using it. Restart those pods to have them use the new secret. +Mounted secrets will be updated automatically unless they are mounted as subpath volumes. For details on how updated secrets are propagated, refer to the [Kubernetes documentation.](https://kubernetes.io/docs/concepts/configuration/secret/#mounted-secrets-are-updated-automatically) # Creating Secrets @@ -37,7 +37,7 @@ When creating a secret, you can make it available for any deployment within a pr **Result:** Your secret is added to the project or namespace, depending on the scope you chose. You can view the secret in the Rancher UI from the **Resources > Secrets** view. -Any update to an active secrets won't automatically update the pods that are using it. Restart those pods to have them use the new secret. +Mounted secrets will be updated automatically unless they are mounted as subpath volumes. For details on how updated secrets are propagated, refer to the [Kubernetes documentation.](https://kubernetes.io/docs/concepts/configuration/secret/#mounted-secrets-are-updated-automatically) # What's Next?