Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
77e51716
Commit
77e51716
authored
8 years ago
by
Antoine Legrand
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/etcd/templates/openssl.conf.j2
+1
-1
1 addition, 1 deletion
roles/etcd/templates/openssl.conf.j2
with
1 addition
and
1 deletion
roles/etcd/templates/openssl.conf.j2
+
1
−
1
View file @
77e51716
...
@@ -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'] %}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment