Skip to content

Commit 568977c

Browse files
authored
Merge pull request #52074 from den-is/kuberc-path-env
Doc for setting custom path to kuberc using KUBERC environment variable
2 parents 84adbff + 4242343 commit 568977c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ such as default options and command aliases. Unlike the kubeconfig file, a `kube
1212
configuration file does **not** contain cluster details, usernames or passwords.
1313

1414
The default location of this configuration file is `$HOME/.kube/kuberc`.
15-
You can instruct `kubectl` to look at a custom path for this configuration using
16-
the `--kuberc` command line argument.
15+
To provide kubectl with a path to a custom kuberc file, use the `--kuberc` command line option,
16+
or set the `KUBERC` environment variable.
1717

1818
A `kuberc` using the `kubectl.config.k8s.io/v1beta1` format allows you to define
1919
two types of user preferences:

0 commit comments

Comments
 (0)