Browse Source

Fix kubeadm images templates (#3936)

download v1.12.3 kubernetes images failed
pull/3939/head
Rong Zhang 5 years ago
committed by Kubernetes Prow Robot
parent
commit
8167e5b690
1 changed files with 4 additions and 0 deletions
  1. 4
      roles/download/templates/kubeadm-images.yaml.j2

4
roles/download/templates/kubeadm-images.yaml.j2

@ -1,5 +1,9 @@
{% 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
{% endif %}
kind: InitConfiguration
nodeRegistration:
{% if container_manager == 'crio' %}

Loading…
Cancel
Save