Skip to content

Commit 312f0a6

Browse files
author
kartik494
committed
Modify spec and status downward API fields
1 parent 38418fb commit 312f0a6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

content/en/docs/concepts/workloads/pods/downward-api.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ via either mechanism are:
6363
`metadata.labels['<KEY>']`
6464
: the text value of the pod's {{< glossary_tooltip text="label" term_id="label" >}} named `<KEY>` (for example, `metadata.labels['mylabel']`)
6565

66+
The following information is available through environment variables
67+
**but not as a downwardAPI volume fieldRef**:
68+
6669
`spec.serviceAccountName`
6770
: the name of the pod's {{< glossary_tooltip text="service account" term_id="service-account" >}}
6871

@@ -75,8 +78,8 @@ via either mechanism are:
7578
`status.podIP`
7679
: the pod's primary IP address (usually, its IPv4 address)
7780

78-
In addition, the following information is available through
79-
a `downwardAPI` volume `fieldRef`, but **not as environment variables**:
81+
The following information is available through a `downwardAPI` volume
82+
`fieldRef`, **but not as environment variables**:
8083

8184
`metadata.labels`
8285
: all of the pod's labels, formatted as `label-key="escaped-label-value"` with one label per line

0 commit comments

Comments
 (0)