Skip to content

Commit 9a81722

Browse files
authored
Merge pull request #37368 from huangzou70/patch-2
Fix kubectl auto complete not usable by non-root user sometimes
2 parents e7676f2 + 608663e commit 9a81722

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/en/docs/tasks/tools/included/optional-kubectl-configs-bash-linux.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ echo 'source <(kubectl completion bash)' >>~/.bashrc
4040
{{< /tab >}}
4141
{{< tab name="System" codelang="bash" >}}
4242
kubectl completion bash | sudo tee /etc/bash_completion.d/kubectl > /dev/null
43+
sudo chmod a+r /etc/bash_completion.d/kubectl
4344
{{< /tab >}}
4445
{{< /tabs >}}
4546

0 commit comments

Comments
 (0)