257ef9fae8
Redis Sentinel modifies its config. Since we now check config in check-containers, the redis_sentintel container is restarted each time. This patch together with kolla patch fixes this issue. Closes-Bug: #1967664 Depends-On: https://review.opendev.org/c/openstack/kolla/+/840954 Change-Id: Ia76329cb851d266cd888f51b7f70a4cdc40e3ac3
23 lines
534 B
Django/Jinja
23 lines
534 B
Django/Jinja
{
|
|
"command": "redis-sentinel {{ redis_generated_conf_path }}",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/redis.conf",
|
|
"dest": "{{ redis_conf_path }}",
|
|
"owner": "redis",
|
|
"perm": "0600"
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/redis",
|
|
"owner": "redis:redis",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/etc/redis",
|
|
"owner": "redis:redis"
|
|
}
|
|
]
|
|
}
|