|
@ -119,6 +119,13 @@ |
|
|
tags: |
|
|
tags: |
|
|
- kube-proxy |
|
|
- kube-proxy |
|
|
|
|
|
|
|
|
|
|
|
- name: Set ca.crt file permission |
|
|
|
|
|
file: |
|
|
|
|
|
path: "{{ kube_cert_dir }}/ca.crt" |
|
|
|
|
|
owner: root |
|
|
|
|
|
group: root |
|
|
|
|
|
mode: "0644" |
|
|
|
|
|
|
|
|
- name: Restart all kube-proxy pods to ensure that they load the new configmap |
|
|
- name: Restart all kube-proxy pods to ensure that they load the new configmap |
|
|
shell: "{{ bin_dir }}/kubectl --kubeconfig {{ kube_config_dir }}/admin.conf delete pod -n kube-system -l k8s-app=kube-proxy --force --grace-period=0" |
|
|
shell: "{{ bin_dir }}/kubectl --kubeconfig {{ kube_config_dir }}/admin.conf delete pod -n kube-system -l k8s-app=kube-proxy --force --grace-period=0" |
|
|
run_once: true |
|
|
run_once: true |
|
|