Skip to content

Commit 87ae40d

Browse files
authored
Merge pull request #28692 from seans3/kubectl-headers-docs-1.22
[1.22] kubectl command headers docs
2 parents 6098470 + 8a6badc commit 87ae40d

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

content/en/docs/reference/kubectl/kubectl.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,31 @@ kubectl [flags]
328328
</tbody>
329329
</table>
330330

331+
## {{% heading "envvars" %}}
331332

333+
<table style="width: 100%; table-layout: fixed;">
334+
<colgroup>
335+
<col span="1" style="width: 10px;" />
336+
<col span="1" />
337+
</colgroup>
338+
<tbody>
339+
340+
<tr>
341+
<td colspan="2">KUBECONFIG</td>
342+
</tr>
343+
<tr>
344+
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to the kubectl configuration ("kubeconfig") file. Default: "$HOME/.kube/config"</td>
345+
</tr>
346+
347+
<tr>
348+
<td colspan="2">KUBECTL_COMMAND_HEADERS</td>
349+
</tr>
350+
<tr>
351+
<td></td><td style="line-height: 130%; word-wrap: break-word;">When set to false, turns off extra HTTP headers detailing invoked kubectl command (Kubernetes version v1.22 or later)</td>
352+
</tr>
353+
354+
</tbody>
355+
</table>
332356

333357
## {{% heading "seealso" %}}
334358

data/i18n/en/en.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ other = "Older versions"
6060
[end_of_life]
6161
other = "End of Life:"
6262

63+
[envvars_heading]
64+
other = "Environment variables"
65+
6366
[error_404_were_you_looking_for]
6467
other = "Were you looking for:"
6568

0 commit comments

Comments
 (0)