|
@ -1,5 +1,9 @@ |
|
|
{% if kube_version is version('v1.12.0', '>=') %} |
|
|
{% if kube_version is version('v1.12.0', '>=') %} |
|
|
|
|
|
{% if kube_version is version('v1.12.0', '>=') and kube_version is version('v1.13.0', '<') %} |
|
|
|
|
|
apiVersion: kubeadm.k8s.io/v1alpha3 |
|
|
|
|
|
{% else %} |
|
|
apiVersion: kubeadm.k8s.io/v1beta1 |
|
|
apiVersion: kubeadm.k8s.io/v1beta1 |
|
|
|
|
|
{% endif %} |
|
|
kind: InitConfiguration |
|
|
kind: InitConfiguration |
|
|
nodeRegistration: |
|
|
nodeRegistration: |
|
|
{% if container_manager == 'crio' %} |
|
|
{% if container_manager == 'crio' %} |
|
|