Skip to content

Commit ce26f17

Browse files
authored
fix unquoted san cert causing issues with ips (#12256)
1 parent a9f600f commit ce26f17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ apiServer:
286286
{% endif %}
287287
certSANs:
288288
{% for san in apiserver_sans %}
289-
- {{ san }}
289+
- "{{ san }}"
290290
{% endfor %}
291291
timeoutForControlPlane: 5m0s
292292
controllerManager:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ apiServer:
350350
{% endif %}
351351
certSANs:
352352
{% for san in apiserver_sans %}
353-
- {{ san }}
353+
- "{{ san }}"
354354
{% endfor %}
355355
controllerManager:
356356
extraArgs:

0 commit comments

Comments
 (0)