Merge pull request #28692 from seans3/kubectl-headers-docs-1.22

[1.22] kubectl command headers docs
This commit is contained in:
Kubernetes Prow Robot 2021-07-27 11:13:09 -07:00 committed by GitHub
commit 87ae40d2d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -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" %}}

View File

@ -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:"