remove nameless extraArgs entry (#11703)

* remove nameless extraArgs entry

Signed-off-by: Andreas Gravgaard Andersen <andreasga22@gmail.com>

* fix template name

Signed-off-by: Andreas Gravgaard Andersen <andreasga22@gmail.com>

---------

Signed-off-by: Andreas Gravgaard Andersen <andreasga22@gmail.com>
master
Andreas Gravgaard Andersen 2024-11-13 18:52:48 +01:00 committed by GitHub
parent 81a66cc73d
commit 9f88f19e31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions

View File

@ -85,8 +85,6 @@ etcd:
- name: {{ key }} - name: {{ key }}
value: "{{ value }}" value: "{{ value }}"
{% endfor %} {% endfor %}
- name:
value:
serverCertSANs: serverCertSANs:
{% for san in etcd_cert_alt_names %} {% for san in etcd_cert_alt_names %}
- "{{ san }}" - "{{ san }}"

View File

@ -6,7 +6,7 @@
- name: Create kubeadm cert controlplane config - name: Create kubeadm cert controlplane config
template: template:
src: "kubeadm-client.conf.{{ kubeadmConfig_api_version }}.j2" src: "kubeadm-client.conf.j2"
dest: "{{ kube_config_dir }}/kubeadm-cert-controlplane.conf" dest: "{{ kube_config_dir }}/kubeadm-cert-controlplane.conf"
mode: "0640" mode: "0640"
vars: vars: