feature: Support modify clixon config in cm-cache role.

This commit is contained in:
fumingwei
2024-05-28 11:42:54 +08:00
committed by 付明卫
parent bc1e925f07
commit d2de83bd62

View File

@@ -19,3 +19,9 @@
copy:
src: "{{ role_path }}/files/cm-cache-extra-secrets.yaml"
dest: /var/lib/rancher/k3s/server/manifests/
- name: "Set clixon config cm cache chart value."
shell: sed -ie "s/cm_local_cache_chart_name=.*/cm_local_cache_chart_name=redis-7.2.4.tgz/g" /opt/tsg/clixon/etc/mgnt-srv.conf
- name: "Set clixon config sd cache chart value."
shell: sed -ie "s/sd_local_cache_chart_name=.*/sd_local_cache_chart_name=redis-7.2.4.tgz/g" /opt/tsg/clixon/etc/mgnt-srv.conf