Add quotes to token-usage for special chars

role_nftables
Ruakij 2 years ago
parent 0c82504299
commit 590b75ac23

@ -1,5 +1,5 @@
server: https://{{ kubernetes.control_plane.dns_name }}:6443 server: https://{{ kubernetes.control_plane.dns_name }}:6443
token: {{ kubernetes.token }} token: '{{ kubernetes.token }}'
{% if nodeip_ipv6 != "" and kubernetes.ipPool.ipv6 is defined %} {% if nodeip_ipv6 != "" and kubernetes.ipPool.ipv6 is defined %}
node-ip: {{ nodeip_ipv4 }},{{ nodeip_ipv6 }} node-ip: {{ nodeip_ipv4 }},{{ nodeip_ipv6 }}

@ -6,7 +6,7 @@ cluster-init: true
server: https://{{ groups['kubernetes'][0] }}:6443 server: https://{{ groups['kubernetes'][0] }}:6443
{% endif %} {% endif %}
token: {{ kubernetes.token }} token: '{{ kubernetes.token }}'
tls-san: tls-san:
- {{ kubernetes.control_plane.dns_name }} - {{ kubernetes.control_plane.dns_name }}

Loading…
Cancel
Save