Merge "Skip both tenant and management networks when generating certs"

This commit is contained in:
Zuul 2020-04-08 23:24:56 +00:00 committed by Gerrit Code Review
commit bb30b51eb8
1 changed files with 4 additions and 4 deletions

View File

@ -58,12 +58,12 @@ resources:
type: OS::Heat::Value type: OS::Heat::Value
properties: properties:
value: value:
# NOTE(jaosorior) Get unique network names to create # NOTE(xek) Get unique network names to create certificates.
# certificates for those. We skip the tenant network since # We skip the tenant and management network (vip != false)
# we don't need a certificate for that. # since we don't generate certificates for those.
- ctlplane - ctlplane
{%- for network in networks if network.enabled|default(true) %} {%- for network in networks if network.enabled|default(true) %}
{%- if network.name_lower != 'tenant' %} {%- if network.vip | default(false) %}
- {{network.name_lower}} - {{network.name_lower}}
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}