Clean up check for setting kubeadm certificate key (#4634)

Change-Id: I2c97c4753089eb3ec2e6b01b2681a8be98ecbb57
This commit is contained in:
Matthew Mosesohn 2019-04-24 17:14:12 +03:00 committed by Kubernetes Prow Robot
parent 86d0e12695
commit 4d57ed314d

View file

@ -119,7 +119,6 @@
- kubeadm_version is version('v1.14.0', '>=') - kubeadm_version is version('v1.14.0', '>=')
- kubeadm_certificate_key is not defined - kubeadm_certificate_key is not defined
- item | trim | match('.*--certificate-key .*') - item | trim | match('.*--certificate-key .*')
- hostvars['kube-master'][0]['kubeadm_init']['stdout_lines'] is defined
- name: Create hardcoded kubeadm token for joining nodes with 24h expiration (if defined) - name: Create hardcoded kubeadm token for joining nodes with 24h expiration (if defined)
shell: >- shell: >-