From b7fa2d7b87e6fabad558ae79c7a62ccecfd86321 Mon Sep 17 00:00:00 2001 From: Mohamed Omar Zaian Date: Sat, 3 Jun 2023 03:16:40 +0200 Subject: [PATCH] Fix metrics-server for k8s 1.26 (#10183) --- .../metrics_server/templates/metrics-server-deployment.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes-apps/metrics_server/templates/metrics-server-deployment.yaml.j2 b/roles/kubernetes-apps/metrics_server/templates/metrics-server-deployment.yaml.j2 index db9498bfd..9bee26bc6 100644 --- a/roles/kubernetes-apps/metrics_server/templates/metrics-server-deployment.yaml.j2 +++ b/roles/kubernetes-apps/metrics_server/templates/metrics-server-deployment.yaml.j2 @@ -40,7 +40,7 @@ spec: {% endif %} - --kubelet-use-node-status-port {% if metrics_server_kubelet_insecure_tls %} - - --kubelet-insecure-tls + - --kubelet-insecure-tls=true {% endif %} - --metric-resolution={{ metrics_server_metric_resolution }} ports: