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 (kubernetes-sigs#4696)

Fixes issue kubernetes-sigs#4695
  • Loading branch information
dmrub authored and unbreakab1e committed Jun 5, 2019
1 parent c62b7d3 commit 6d53fd4
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 6d53fd4

Please sign in to comment.