mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-14 17:50:06 -03:30
Add socat for CoreOS when using host deploy kubelet (#1575)
This commit is contained in:
@@ -6,6 +6,10 @@ dependencies:
|
||||
- role: download
|
||||
file: "{{ downloads.pod_infra }}"
|
||||
tags: [download, kubelet]
|
||||
- role: download
|
||||
file: "{{ downloads.install_socat }}"
|
||||
tags: [download, kubelet]
|
||||
when: ansible_os_family in ['CoreOS', 'Container Linux by CoreOS']
|
||||
- role: kubernetes/secrets
|
||||
tags: k8s-secrets
|
||||
- role: download
|
||||
@@ -33,4 +37,4 @@ dependencies:
|
||||
tags: [download, dnsmasq]
|
||||
- role: download
|
||||
file: "{{ downloads.kubednsautoscaler }}"
|
||||
tags: [download, dnsmasq]
|
||||
tags: [download, dnsmasq]
|
||||
|
||||
@@ -8,3 +8,9 @@
|
||||
changed_when: false
|
||||
tags: [hyperkube, upgrade]
|
||||
notify: restart kubelet
|
||||
|
||||
- name: install | Copy socat wrapper for Container Linux
|
||||
command: "{{ docker_bin_dir }}/docker run --rm -v {{ bin_dir }}:/opt/bin {{ install_socat_image_repo }}:{{ install_socat_image_tag }}"
|
||||
args:
|
||||
creates: "{{ bin_dir }}/socat"
|
||||
when: ansible_os_family in ['CoreOS', 'Container Linux by CoreOS']
|
||||
|
||||
Reference in New Issue
Block a user