1 heat_template_version: pike
4 OpenStack containerized HAproxy service
9 default: 'tripleoupstream'
13 default: 'centos-binary-haproxy:latest'
17 description: Mapping of service_name -> network name. Typically set
18 via parameter_defaults in the resource registry. This
19 mapping overrides those in ServiceNetMapDefaults.
26 description: Mapping of service endpoint -> protocol. Typically set
27 via parameter_defaults in the resource registry.
30 description: Password for HAProxy stats endpoint
34 description: User for HAProxy stats endpoint
39 description: Syslog address where HAproxy will send its log
42 description: The password for Redis
45 MonitoringSubscriptionHaproxy:
46 default: 'overcloud-haproxy'
50 description: Role name on which the service is applied
54 description: Parameters specific to the role
60 type: ./containers-common.yaml
63 type: ../../puppet/services/haproxy.yaml
65 EndpointMap: {get_param: EndpointMap}
66 ServiceNetMap: {get_param: ServiceNetMap}
67 DefaultPasswords: {get_param: DefaultPasswords}
68 RoleName: {get_param: RoleName}
69 RoleParameters: {get_param: RoleParameters}
73 description: Role data for the HAproxy role.
75 service_name: {get_attr: [HAProxyBase, role_data, service_name]}
78 - get_attr: [HAProxyBase, role_data, config_settings]
79 - tripleo::haproxy::haproxy_daemon: false
80 step_config: &step_config
81 get_attr: [HAProxyBase, role_data, step_config]
82 service_config_settings: {get_attr: [HAProxyBase, role_data, service_config_settings]}
83 # BEGIN DOCKER SETTINGS
85 config_volume: haproxy
86 puppet_tags: haproxy_config
87 step_config: *step_config
88 config_image: &haproxy_image
91 - [ {get_param: DockerNamespace}, {get_param: DockerHAProxyImage} ]
93 /var/lib/kolla/config_files/haproxy.json:
94 command: haproxy -f /etc/haproxy/haproxy.cfg
104 - {get_attr: [ContainersCommon, volumes]}
106 - /var/lib/kolla/config_files/haproxy.json:/var/lib/kolla/config_files/config.json:ro
107 - /var/lib/config-data/haproxy/etc/:/etc/:ro
109 - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
111 get_attr: [HAProxyBase, role_data, metadata_settings]