Add shell autocompletion for kubectl

Change-Id: I14af0930cec24f9d2e826a6946b29c0891a2c4c3
This commit is contained in:
Alexander Noskov 2019-08-07 14:55:54 -05:00
parent 4735ecfd7f
commit 1a85f548fd
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ echo "{{ encrypted_tarball | b64enc }}" | base64 -d | {{ decrypt_command }} | ta
{{ decrypt_teardown_command }}
set -x
# Enabling kubectl bash autocompletion
#
kubectl completion bash > /etc/bash_completion.d/kubectl
for DIR in "${CURATED_DIRS[@]}"; do
chmod -R go-rwx "${DIR}"
done