Skip to content

Commit dbf8353

Browse files
authored
Merge pull request #45774 from mrgiles/45405_use_env_vars_in_pods
Mention container environment variables in concepts/pods
2 parents 817c255 + 5270c7a commit dbf8353

File tree

1 file changed

+4
-0
lines changed
  • content/en/docs/concepts/workloads/pods

1 file changed

+4
-0
lines changed

content/en/docs/concepts/workloads/pods/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ Each controller for a workload resource uses the `PodTemplate` inside the worklo
167167
object to make actual Pods. The `PodTemplate` is part of the desired state of whatever
168168
workload resource you used to run your app.
169169

170+
When you create a Pod, you can include
171+
[environment variables](/docs/tasks/inject-data-application/define-environment-variable-container/)
172+
in the Pod template for the containers that run in the Pod.
173+
170174
The sample below is a manifest for a simple Job with a `template` that starts one
171175
container. The container in that Pod prints a message then pauses.
172176

0 commit comments

Comments
 (0)