Browse Source

Add kubectl bash completion

pull/21/head
Smaine Kahlouch 9 years ago
parent
commit
bfe78848fa
1 changed files with 3 additions and 0 deletions
  1. 3
      roles/kubernetes/master/tasks/config.yml

3
roles/kubernetes/master/tasks/config.yml

@ -45,6 +45,9 @@
- name: write the kubecfg (auth) file for kubectl - name: write the kubecfg (auth) file for kubectl
template: src=kubectl.kubeconfig.j2 dest={{ kube_config_dir }}/kubectl.kubeconfig backup=yes 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 - name: Create proxy environment vars dir
file: path=/etc/systemd/system/kube-proxy.service.d state=directory file: path=/etc/systemd/system/kube-proxy.service.d state=directory

Loading…
Cancel
Save