1 heat_template_version: pike
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: Role name on which the service is applied
22 description: Parameters specific to the role
26 description: Mapping of service endpoint -> protocol. Typically set
27 via parameter_defaults in the resource registry.
36 # NOTE(jaosorior) Get unique network names to create
37 # certificates for those. We skip the tenant network since
38 # we don't need a certificate for that, and the external
39 # network will be handled in another template.
41 expression: list($.data.map.items().map($1[1])).distinct().where($ != external and $ != tenant)
44 get_param: ServiceNetMap
48 description: Role data for the HAProxy internal TLS via certmonger role.
50 service_name: haproxy_internal_tls_certmonger
52 generate_service_certificates: true
53 tripleo::haproxy::use_internal_certificates: true
59 service_pem: '/etc/pki/tls/certs/overcloud-haproxy-NETWORK.pem'
60 service_certificate: '/etc/pki/tls/certs/overcloud-haproxy-NETWORK.crt'
61 service_key: '/etc/pki/tls/private/overcloud-haproxy-NETWORK.key'
62 hostname: "%{hiera('cloud_name_NETWORK')}"
63 postsave_cmd: "" # TODO
64 principal: "haproxy/%{hiera('cloud_name_NETWORK')}"
66 NETWORK: {get_attr: [HAProxyNetworks, value]}
74 $NETWORK: {get_attr: [HAProxyNetworks, value]}