Update `kubectl edit` documentation

kubectl defaults to /bin/bash if the SHELL environment variable isn't
set. Updating the docs to mention that you can override the shell
location by setting the SHELL environment variable.

Kubernetes-commit: 0a508ad8067dcc8d48420daca536fca09df5846b
This commit is contained in:
aditya-K2 2023-03-13 00:01:39 +05:30 committed by Kubernetes Publisher
parent 2045c7aca2
commit 06bf9e7cc8
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ var (
The default format is YAML. To edit in JSON, specify "-o json".
Shell defaults to /bin/bash if the SHELL environment variable is not set.
To override the shell location set the SHELL environment variable with the desired shell location.
The flag --windows-line-endings can be used to force Windows line endings,
otherwise the default for your operating system will be used.