Skip to content
Snippets Groups Projects
Unverified Commit a0225507 authored by Matthew Mosesohn's avatar Matthew Mosesohn Committed by GitHub
Browse files

Set helm deployment type to host (#2012)

parent d39a88d6
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ docker_bin_dir: "/usr/bin"
etcd_deployment_type: docker
kubelet_deployment_type: host
vault_deployment_type: docker
helm_deployment_type: docker
helm_deployment_type: host
# K8s image pull policy (imagePullPolicy)
k8s_image_pull_policy: IfNotPresent
......
......@@ -5,7 +5,7 @@ helm_enabled: false
helm_home_dir: "/root/.helm"
# Deployment mode: host or docker
helm_deployment_type: docker
helm_deployment_type: host
# Do not download the local repository cache on helm init
helm_skip_refresh: false
......
---
- name: Helm | Compare host helm with hyperkube container
command: "{{ docker_bin_dir }}/docker run --rm -v {{ bin_dir }}:/systembindir {{ helm_image_repo }}:{{ helm_image_tag }} /usr/bin/cmp /usr/local/bin/helm /systembindir/helm"
command: "{{ docker_bin_dir }}/docker run --rm -v {{ bin_dir }}:/systembindir --entrypoint /usr/bin/cmp {{ helm_image_repo }}:{{ helm_image_tag }} /usr/local/bin/helm /systembindir/helm"
register: helm_task_compare_result
until: helm_task_compare_result.rc in [0,1,2]
retries: 4
......@@ -9,7 +9,7 @@
failed_when: "helm_task_compare_result.rc not in [0,1,2]"
- name: Helm | Copy helm from helm container
command: "{{ docker_bin_dir }}/docker run --rm -v {{ bin_dir }}:/systembindir {{ helm_image_repo }}:{{ helm_image_tag }} /bin/cp -f /usr/local/bin/helm /systembindir/helm"
command: "{{ docker_bin_dir }}/docker run --rm -v {{ bin_dir }}:/systembindir --entrypoint /bin/cp {{ helm_image_repo }}:{{ helm_image_tag }} -f /usr/local/bin/helm /systembindir/helm"
when: helm_task_compare_result.rc != 0
register: helm_task_result
until: helm_task_result.rc == 0
......
......@@ -124,7 +124,7 @@ etcd_deployment_type: docker
kubelet_deployment_type: docker
cert_management: script
vault_deployment_type: docker
helm_deployment_type: docker
helm_deployment_type: host
# Enable kubeadm deployment (experimental)
kubeadm_enabled: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment