From b7c22659e308af6ab20484a5032a62d57f945d7b Mon Sep 17 00:00:00 2001 From: "Du9L.com" Date: Thu, 4 Mar 2021 03:39:50 +0800 Subject: [PATCH] kubeadm-config.v1beta2.yaml.j2: etcd log level arg (#7339) According to [etcd's docs](https://etcd.io/docs/v3.4.0/op-guide/configuration/#--log-package-levels), argument 'log-package-levels' should not contain underscores. --- .../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 c03ddfde3..50025330a 100644 --- a/roles/kubernetes/control-plane/templates/kubeadm-config.v1beta2.yaml.j2 +++ b/roles/kubernetes/control-plane/templates/kubeadm-config.v1beta2.yaml.j2 @@ -59,7 +59,7 @@ etcd: quota-backend-bytes: "{{ etcd_quota_backend_bytes }}" {% endif %} {% if etcd_log_package_levels is defined %} - log-package_levels: "{{ etcd_log_package_levels }}" + log-package-levels: "{{ etcd_log_package_levels }}" {% endif %} {% for key, value in etcd_extra_vars.items() %} {{ key }}: "{{ value }}"