Browse Source

Encapsulate item instead of casting to string

pull/2472/head
woopstar 6 years ago
committed by Andreas Kruger
parent
commit
40c0f3756b
1 changed files with 3 additions and 3 deletions
  1. 6
      roles/kubernetes/master/templates/kubeadm-config.yaml.j2

6
roles/kubernetes/master/templates/kubeadm-config.yaml.j2

@ -59,7 +59,7 @@ apiServerExtraArgs:
{% endif %}
allow-privileged: "true"
{% for key in kube_kubeadm_apiserver_extra_args %}
{{ key }}: {{ kube_kubeadm_apiserver_extra_args[key]|string }}
{{ key }}: "{{ kube_kubeadm_apiserver_extra_args[key] }}"
{% endfor %}
controllerManagerExtraArgs:
node-monitor-grace-period: {{ kube_controller_node_monitor_grace_period }}
@ -69,12 +69,12 @@ controllerManagerExtraArgs:
feature-gates: {{ kube_feature_gates|join(',') }}
{% endif %}
{% for key in kube_kubeadm_controller_extra_args %}
{{ key }}: {{ kube_kubeadm_controller_extra_args[key]|string }}
{{ key }}: "{{ kube_kubeadm_controller_extra_args[key] }}"
{% endfor %}
{% if kube_kubeadm_scheduler_extra_args|length > 0 %}
schedulerExtraArgs:
{% for key in kube_kubeadm_scheduler_extra_args %}
{{ key }}: {{ kube_kubeadm_scheduler_extra_args[key]|string }}
{{ key }}: "{{ kube_kubeadm_scheduler_extra_args[key] }}"
{% endfor %}
{% endif %}
apiServerCertSANs:

Loading…
Cancel
Save