From bfe78848fa5f33044f91222b343397c4a68ba2fd Mon Sep 17 00:00:00 2001 From: Smaine Kahlouch Date: Tue, 1 Dec 2015 12:13:22 +0100 Subject: [PATCH] Add kubectl bash completion --- roles/kubernetes/master/tasks/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/kubernetes/master/tasks/config.yml b/roles/kubernetes/master/tasks/config.yml index af699c8f2..2f488a921 100644 --- a/roles/kubernetes/master/tasks/config.yml +++ b/roles/kubernetes/master/tasks/config.yml @@ -45,6 +45,9 @@ - name: write the kubecfg (auth) file for kubectl template: src=kubectl.kubeconfig.j2 dest={{ kube_config_dir }}/kubectl.kubeconfig backup=yes +- name: Copy kubectl bash completion + copy: src=kubectl_bash_completion.sh dest=/etc/bash_completion.d/kubectl.sh + - name: Create proxy environment vars dir file: path=/etc/systemd/system/kube-proxy.service.d state=directory