From 4f18583d199a950de87de89045f5c1f0bf891788 Mon Sep 17 00:00:00 2001 From: Sylvain COULOMBEL Date: Sun, 17 May 2020 16:54:52 +0200 Subject: [PATCH] In concept secret, add consumption as environment variable --- content/en/docs/concepts/configuration/secret.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/content/en/docs/concepts/configuration/secret.md b/content/en/docs/concepts/configuration/secret.md index 0fa5b13efa..cfc5252d87 100644 --- a/content/en/docs/concepts/configuration/secret.md +++ b/content/en/docs/concepts/configuration/secret.md @@ -29,12 +29,13 @@ Pod specification or in an image. Users can create secrets and the system also creates some secrets. To use a secret, a Pod needs to reference the secret. -A secret can be used with a Pod in two ways: +A secret can be used with a Pod in three ways: -- As files in a +- As [files](#using-secrets-as-files-from-a-pod) in a {{< glossary_tooltip text="volume" term_id="volume" >}} mounted on one or more of its containers. -- By the kubelet when pulling images for the Pod. +- As [container environment variable](#using-secrets-as-environment-variables). +- By the [kubelet when pulling images](#using-imagepullsecrets) for the Pod. ### Built-in Secrets