OC4: mount webui redis config into container
Earlier the default redis configuration was used;
now that redis is protected with password by default
configuration file has to be generated.
PROD-26143
PROD-22096
Change-Id: I8ece6db205715ac75423d033d5f30ef7f2c720ea
diff --git a/opencontrail/control/cluster4_0.yml b/opencontrail/control/cluster4_0.yml
index 1409a65..8d88e8c 100644
--- a/opencontrail/control/cluster4_0.yml
+++ b/opencontrail/control/cluster4_0.yml
@@ -145,6 +145,7 @@
container_name: ${_param:opencontrail_controller_container_name}
volumes:
- /etc/contrail:/etc/contrail
+ - /etc/redis/redis_webui.conf:/etc/redis/redis.conf
- /var/lib/configdb:/var/lib/cassandra
- /var/lib/config_zookeeper_data:/var/lib/zookeeper
- /var/lib/zookeeper/myid:/var/lib/zookeeper/myid
diff --git a/opencontrail/control/control4_0.yml b/opencontrail/control/control4_0.yml
index 716088c..dfad397 100644
--- a/opencontrail/control/control4_0.yml
+++ b/opencontrail/control/control4_0.yml
@@ -105,6 +105,7 @@
container_name: ${_param:opencontrail_controller_container_name}
volumes:
- /etc/contrail:/etc/contrail
+ - /etc/redis/redis_webui.conf:/etc/redis/redis.conf
- /var/lib/configdb:/var/lib/cassandra
- /var/lib/config_zookeeper_data:/var/lib/zookeeper
- /var/lib/zookeeper/myid:/var/lib/zookeeper/myid
diff --git a/opencontrail/control/single4_0.yml b/opencontrail/control/single4_0.yml
index 726fa8f..9c11443 100644
--- a/opencontrail/control/single4_0.yml
+++ b/opencontrail/control/single4_0.yml
@@ -164,6 +164,7 @@
container_name: ${_param:opencontrail_controller_container_name}
volumes:
- /etc/contrail:/etc/contrail
+ - /etc/redis/redis_webui.conf:/etc/redis/redis.conf
- /var/lib/configdb:/var/lib/cassandra
- /var/lib/config_zookeeper_data:/var/lib/zookeeper
- /var/lib/zookeeper/myid:/var/lib/zookeeper/myid