1 heat_template_version: ocata
4 HAProxy deployment with TLS enabled, powered by certmonger
9 description: Mapping of service_name -> network name. Typically set
10 via parameter_defaults in the resource registry. This
11 mapping overrides those in ServiceNetMapDefaults.
18 description: Mapping of service endpoint -> protocol. Typically set
19 via parameter_defaults in the resource registry.
28 # NOTE(jaosorior) Get unique network names to create
29 # certificates for those. We skip the tenant network since
30 # we don't need a certificate for that, and the external
31 # network will be handled in another template.
33 expression: list($.data.map.items().map($1[1])).distinct().where($ != external and $ != tenant)
36 get_param: ServiceNetMap
40 description: Role data for the HAProxy internal TLS via certmonger role.
42 service_name: haproxy_internal_tls_certmonger
44 generate_service_certificates: true
45 tripleo::haproxy::use_internal_certificates: true
51 service_pem: '/etc/pki/tls/certs/overcloud-haproxy-NETWORK.pem'
52 service_certificate: '/etc/pki/tls/certs/overcloud-haproxy-NETWORK.crt'
53 service_key: '/etc/pki/tls/private/overcloud-haproxy-NETWORK.key'
54 hostname: "%{hiera('cloud_name_NETWORK')}"
55 postsave_cmd: "" # TODO
56 principal: "haproxy/%{hiera('cloud_name_NETWORK')}"
58 NETWORK: {get_attr: [HAProxyNetworks, value]}
66 $NETWORK: {get_attr: [HAProxyNetworks, value]}