Skip to content

Commit

Permalink
use hyperkubeimage to run controlplane containers (kubernetes-sigs#5178)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckySB authored and k8s-ci-robot committed Sep 18, 2019
1 parent 1ce7831 commit 8984096
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions roles/kubernetes/master/defaults/main/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,6 @@ kube_override_hostname: >-
{%- endif -%}
secrets_encryption_query: "resources[*].providers[0].{{kube_encryption_algorithm}}.keys[0].secret"

# use HyperKube image to control plane containers
kubeadm_use_hyperkube_image: False
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ controlPlaneEndpoint: {{ ip | default(fallback_ips[inventory_hostname]) }}:{{ ku
{% endif %}
certificatesDir: {{ kube_cert_dir }}
imageRepository: {{ kube_image_repo }}
useHyperKubeImage: false
useHyperKubeImage: {{ kubeadm_use_hyperkube_image }}
apiServer:
extraArgs:
{% if kube_api_anonymous_auth is defined %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ controlPlaneEndpoint: {{ ip | default(fallback_ips[inventory_hostname]) }}:{{ ku
{% endif %}
certificatesDir: {{ kube_cert_dir }}
imageRepository: {{ kube_image_repo }}
useHyperKubeImage: false
useHyperKubeImage: {{ kubeadm_use_hyperkube_image }}
apiServer:
extraArgs:
{% if kube_api_anonymous_auth is defined %}
Expand Down

0 comments on commit 8984096

Please sign in to comment.