Skip to content

Commit

Permalink
Fix adding output of kubeadm to the admin.conf downloaded to the arti…
Browse files Browse the repository at this point in the history
…facts directory (#4696)

Fixes issue #4695
  • Loading branch information
dmrub authored and k8s-ci-robot committed May 6, 2019
1 parent d5c0829 commit 03bded2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/kubernetes/client/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
--apiserver-advertise-address {{ external_apiserver_address }}
--apiserver-bind-port {{ external_apiserver_port }}
{% if kubeadm_version is version('v1.14.0', '>=') %}
&& cat {{ kube_config_dir }}/external_kubeconfig/admin.conf &&
>/dev/null && cat {{ kube_config_dir }}/external_kubeconfig/admin.conf &&
rm -rf {{ kube_config_dir }}/external_kubeconfig
{% endif %}
environment: "{{ proxy_env }}"
Expand Down

0 comments on commit 03bded2

Please sign in to comment.