Browse Source

Fix calico-kube-controller becomes Error (#7548)

Change mode so that calico-kube-controllers can be read because it was changed to run as non-root
https://github.com/projectcalico/kube-controllers/pull/566
pull/7557/head
faruryo 3 years ago
committed by GitHub
parent
commit
975f84494c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/network_plugin/calico/tasks/install.yml

1
roles/network_plugin/calico/tasks/install.yml

@ -28,6 +28,7 @@
src: "{{ etcd_cert_dir }}/{{ item.s }}"
dest: "{{ calico_cert_dir }}/{{ item.d }}"
state: hard
mode: 0640
force: yes
with_items:
- {s: "{{ kube_etcd_cacert_file }}", d: "ca_cert.crt"}

Loading…
Cancel
Save