Skip to content
Snippets Groups Projects
Commit 77e51716 authored by Antoine Legrand's avatar Antoine Legrand Committed by GitHub
Browse files

Merge pull request #1076 from VincentS/etcd_openssl_count_fix

Fixed counter in ETCD Openssl.conf
parents 0c66418d 0cbc3d8d
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ DNS.1 = localhost ...@@ -28,7 +28,7 @@ DNS.1 = localhost
DNS.{{ 1 + loop.index }} = {{ host }} DNS.{{ 1 + loop.index }} = {{ host }}
{% endfor %} {% endfor %}
{% if loadbalancer_apiserver is defined and apiserver_loadbalancer_domain_name is defined %} {% if loadbalancer_apiserver is defined and apiserver_loadbalancer_domain_name is defined %}
{% set idx = groups['etcd'] | length | int + 1 %} {% set idx = groups['etcd'] | length | int + 2 %}
DNS.{{ idx | string }} = {{ apiserver_loadbalancer_domain_name }} DNS.{{ idx | string }} = {{ apiserver_loadbalancer_domain_name }}
{% endif %} {% endif %}
{% for host in groups['etcd'] %} {% for host in groups['etcd'] %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment