From edfa3e9b14167c5c6b76083360948611c120af0a 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 --- .../control-plane/templates/kubeadm-config.v1beta2.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/control-plane/templates/kubeadm-config.v1beta2.yaml.j2 b/roles/kubernetes/control-plane/templates/kubeadm-config.v1beta2.yaml.j2 index c0c6e54397b..b60c1dce62e 100644 --- a/roles/kubernetes/control-plane/templates/kubeadm-config.v1beta2.yaml.j2 +++ b/roles/kubernetes/control-plane/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: