mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
ISSUE-2706: Provide consistent usage of supplementary_addresses_in_ssl_keys across vault and script mode (#2707)
This commit is contained in:
committed by
Matthew Mosesohn
parent
414e420bd2
commit
59789ae02a
@@ -52,6 +52,11 @@
|
|||||||
"{{ hostvars[host]['ip'] }}",
|
"{{ hostvars[host]['ip'] }}",
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
{%- if supplementary_addresses_in_ssl_keys is defined -%}
|
||||||
|
{%- for ip_item in supplementary_addresses_in_ssl_keys -%}
|
||||||
|
"{{ ip_item }}",
|
||||||
|
{%- endfor -%}
|
||||||
|
{%- endif -%}
|
||||||
"127.0.0.1","::1","{{ kube_apiserver_ip }}"
|
"127.0.0.1","::1","{{ kube_apiserver_ip }}"
|
||||||
]
|
]
|
||||||
issue_cert_path: "{{ item }}"
|
issue_cert_path: "{{ item }}"
|
||||||
@@ -112,6 +117,11 @@
|
|||||||
"{{ hostvars[host]['ip'] }}",
|
"{{ hostvars[host]['ip'] }}",
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
{%- if supplementary_addresses_in_ssl_keys is defined -%}
|
||||||
|
{%- for ip_item in supplementary_addresses_in_ssl_keys -%}
|
||||||
|
"{{ ip_item }}",
|
||||||
|
{%- endfor -%}
|
||||||
|
{%- endif -%}
|
||||||
"127.0.0.1","::1","{{ kube_apiserver_ip }}"
|
"127.0.0.1","::1","{{ kube_apiserver_ip }}"
|
||||||
]
|
]
|
||||||
issue_cert_path: "{{ item }}"
|
issue_cert_path: "{{ item }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user