* Fix certificate-key param for kubeadm init * Fix yamllint error
This commit is contained in:
parent
2b69befb59
commit
58126de3d9
1 changed files with 2 additions and 2 deletions
|
@ -105,13 +105,13 @@
|
|||
{{ bin_dir }}/kubeadm init
|
||||
--config={{ kube_config_dir }}/kubeadm-config.yaml
|
||||
--ignore-preflight-errors=all
|
||||
--skip-phases=addon/coredns
|
||||
{% if kubeadm_version is version('v1.14.0', '>=') %}
|
||||
--experimental-upload-certs
|
||||
{% endif %}
|
||||
--skip-phases=addon/coredns
|
||||
{% if kubeadm_certificate_key is defined %}
|
||||
--certificate-key={{ kubeadm_certificate_key }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
register: kubeadm_init
|
||||
# Retry is because upload config sometimes fails
|
||||
retries: 3
|
||||
|
|
Loading…
Reference in a new issue