Skip to content

Commit

Permalink
Merge pull request #28692 from seans3/kubectl-headers-docs-1.22
Browse files Browse the repository at this point in the history
[1.22] kubectl command headers docs
  • Loading branch information
k8s-ci-robot authored Jul 27, 2021
2 parents 6098470 + 8a6badc commit 87ae40d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
24 changes: 24 additions & 0 deletions content/en/docs/reference/kubectl/kubectl.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,31 @@ kubectl [flags]
</tbody>
</table>

## {{% heading "envvars" %}}

<table style="width: 100%; table-layout: fixed;">
<colgroup>
<col span="1" style="width: 10px;" />
<col span="1" />
</colgroup>
<tbody>

<tr>
<td colspan="2">KUBECONFIG</td>
</tr>
<tr>
<td></td><td style="line-height: 130%; word-wrap: break-word;">Path to the kubectl configuration ("kubeconfig") file. Default: "$HOME/.kube/config"</td>
</tr>

<tr>
<td colspan="2">KUBECTL_COMMAND_HEADERS</td>
</tr>
<tr>
<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>
</tr>

</tbody>
</table>

## {{% heading "seealso" %}}

Expand Down
3 changes: 3 additions & 0 deletions data/i18n/en/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ other = "Older versions"
[end_of_life]
other = "End of Life:"

[envvars_heading]
other = "Environment variables"

[error_404_were_you_looking_for]
other = "Were you looking for:"

Expand Down

0 comments on commit 87ae40d

Please sign in to comment.