Browse Source

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>
pull/11714/head
Andreas Gravgaard Andersen 1 week ago
committed by GitHub
parent
commit
9f88f19e31
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 3 deletions
  1. 2
      roles/kubernetes/control-plane/templates/kubeadm-config.v1beta4.yaml.j2
  2. 2
      roles/kubernetes/kubeadm/tasks/kubeadm_etcd_node.yml

2
roles/kubernetes/control-plane/templates/kubeadm-config.v1beta4.yaml.j2

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

2
roles/kubernetes/kubeadm/tasks/kubeadm_etcd_node.yml

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

Loading…
Cancel
Save