From 568eb6c35270092001084d3ab4dcbf2728f4965f Mon Sep 17 00:00:00 2001 From: Anthony Rabbito Date: Fri, 26 Mar 2021 05:10:43 -0400 Subject: [PATCH] Correct Jinja Syntax for etcd-unsupported-arch (#6919) `-%` causes `etcd-unsupported-arch: arm64` to print on COL 1 instead of COL 6. Signed-off-by: anthr76 (cherry picked from commit edfa3e9b14167c5c6b76083360948611c120af0a) --- .../kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2 b/roles/kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2 index a88708a1372..b33963a0cd4 100644 --- a/roles/kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2 +++ b/roles/kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2 @@ -64,7 +64,7 @@ etcd: {% for key, value in etcd_extra_vars.items() %} {{ key }}: "{{ value }}" {% endfor %} -{% if host_architecture != "amd64" -%} +{% if host_architecture != "amd64" %} etcd-unsupported-arch: {{host_architecture}} {% endif %} serverCertSANs: