You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/concepts/configuration/secret.md
+4-71Lines changed: 4 additions & 71 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,83 +55,16 @@ See [Information security for Secrets](#information-security-for-secrets) for mo
55
55
56
56
## Uses for Secrets
57
57
58
-
There are three main ways for a Pod to use a Secret:
58
+
You can use Secrets for purposes such as the following:
59
59
60
-
- As [files](#using-secrets-as-files-from-a-pod) in a
61
-
{{< glossary_tooltip text="volume" term_id="volume" >}} mounted on one or more of
62
-
its containers.
63
-
- As [container environment variable](#using-secrets-as-environment-variables).
64
-
- By the [kubelet when pulling images](#using-imagepullsecrets) for the Pod.
60
+
-[Set environment variables for a container](/docs/tasks/inject-data-application/distribute-credentials-secure/#define-container-environment-variables-using-secret-data).
61
+
-[Provide credentials such as SSH keys or passwords to Pods](/docs/tasks/inject-data-application/distribute-credentials-secure/#provide-prod-test-creds).
62
+
-[Allow the kubelet to pull container images from private registries](/docs/tasks/configure-pod-container/pull-image-private-registry/).
65
63
66
64
The Kubernetes control plane also uses Secrets; for example,
67
65
[bootstrap token Secrets](#bootstrap-token-secrets) are a mechanism to
68
66
help automate node registration.
69
67
70
-
## Use cases
71
-
72
-
### Use case: As container environment variables {#use-case-as-container-environment-variables}
73
-
74
-
You can create a Secret and use it to
75
-
[set environment variables for a container](/docs/tasks/inject-data-application/distribute-credentials-secure/#define-container-environment-variables-using-secret-data).
0 commit comments