Merge "Restore missing SAN IP in etcd cert"

This commit is contained in:
Zuul 2022-06-22 14:32:46 +00:00 committed by Gerrit Code Review
commit 3262965195
1 changed files with 6 additions and 0 deletions

View File

@ -314,6 +314,12 @@ outputs:
template: "{{cloud_names.cloud_name_NETWORK}}"
params:
NETWORK: {get_param: [ServiceNetMap, EtcdNetwork]}
# etcd3 expects to use IP addresses, so add a SAN IP to its cert
ip:
str_replace:
template: "{{NETWORK_ip}}"
params:
NETWORK: {get_param: [ServiceNetMap, EtcdNetwork]}
principal:
str_replace:
template: "etcd/{{fqdn_$NETWORK}}@{{idm_realm}}"