From de2602c3d532e78a4a5c5fdbfe9229a89b6bcd9b Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Mon, 15 Mar 2021 11:51:56 +0100 Subject: [PATCH] Updates for etcd 1.19 --- charts/kubeadm/templates/ClusterConfiguration.yaml | 2 +- charts/kubeadm/templates/JoinConfiguration.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/kubeadm/templates/ClusterConfiguration.yaml b/charts/kubeadm/templates/ClusterConfiguration.yaml index e6050218..bde3b69c 100644 --- a/charts/kubeadm/templates/ClusterConfiguration.yaml +++ b/charts/kubeadm/templates/ClusterConfiguration.yaml @@ -11,8 +11,8 @@ etcd: local: extraArgs: listen-metrics-urls: "http://{{ .Values.listenAddress }}:2381" - unsafe-no-fsync: "true" logger: "zap" + log-level: "warn" {{- with .Values.etcdExtraArgs }} {{- toYaml . | nindent 6 }} {{- end }} diff --git a/charts/kubeadm/templates/JoinConfiguration.yaml b/charts/kubeadm/templates/JoinConfiguration.yaml index 17c48bf2..6d3d44ac 100644 --- a/charts/kubeadm/templates/JoinConfiguration.yaml +++ b/charts/kubeadm/templates/JoinConfiguration.yaml @@ -10,6 +10,7 @@ controlPlane: nodeRegistration: ignorePreflightErrors: - DirAvailable--var-lib-etcd + - FileAvailable--etc-kubernetes-pki-ca.crt - Swap kubeletExtraArgs: node-labels: {{ .Values.nodeLabels | quote }}