diff --git a/hieradata/roles/infra/storage/consul.yaml b/hieradata/roles/infra/storage/consul.yaml index 8741c43..cac2fe4 100644 --- a/hieradata/roles/infra/storage/consul.yaml +++ b/hieradata/roles/infra/storage/consul.yaml @@ -31,6 +31,8 @@ profiles::pki::vault::alt_names: - consul.service.consul - "consul.service.%{facts.country}-%{facts.region}.consul" - consul + - "server.%{facts.country}-%{facts.region}.consul" + - "%{facts.networking.fqdn}.server.%{facts.country}-%{facts.region}.consul" # manage a simple nginx reverse proxy profiles::nginx::simpleproxy::nginx_vhost: 'consul.service.consul'