修改k3s自签证书默认有效期为5年
This commit is contained in:
1
ansible/roles/k3s-install/files/k3s.service.env
Normal file
1
ansible/roles/k3s-install/files/k3s.service.env
Normal file
@@ -0,0 +1 @@
|
||||
CATTLE_NEW_SIGNED_CERT_EXPIRATION_DAYS=1825
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user