This commit is contained in:
cătălin 2024-02-10 19:44:11 +01:00
commit 1cc30ed503
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2
15 changed files with 202 additions and 1 deletions

View file

@ -0,0 +1,2 @@
token: {{ cluster_token }}
server: https://{{ tls_san }}:6443

View file

@ -0,0 +1,12 @@
tls-san:
- {{ inventory_hostname }}
- {{ tls_san }}
node-label:
- name={{ inventory_hostname }}
token: "{{ cluster_token }}"
etcd-snapshot-dir: {{ etcd_snapshot_dir }}
{% if is_first_master %}
cluster-init: "{{ is_first_master }}"
{% else %}
server: https://{{ first_master_hostname }}:6443
{% endif %}