修改k3s自签证书默认有效期为5年

This commit is contained in:
linxin
2023-06-12 21:15:38 +08:00
committed by 付明卫
parent e9e00202c9
commit 3b0e80bcf9
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1 @@
CATTLE_NEW_SIGNED_CERT_EXPIRATION_DAYS=1825

View File

@@ -30,6 +30,11 @@
src: "{{ role_path }}/files/multus-daemonset.yml"
dest: /var/lib/rancher/k3s/server/manifests/
- name: "copy k3s.service.env to destination"
copy:
src: "{{ role_path }}/files/k3s.service.env"
dest: /etc/systemd/system/k3s.service.env
- name: "copy multus-cni.tar to destination"
copy:
src: "{{ role_path }}/files/multus-cni.tar"