From 3651b503d7895b1403cae52a064706745ccdda2e Mon Sep 17 00:00:00 2001 From: Ciprian Hacman Date: Sat, 22 May 2021 05:27:50 +0300 Subject: [PATCH] Update metrics-server to v0.4.4 --- .../metrics-server.addons.k8s.io/k8s-1.11.yaml.template | 4 ++-- .../bootstrapchannelbuilder/bootstrapchannelbuilder.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/upup/models/cloudup/resources/addons/metrics-server.addons.k8s.io/k8s-1.11.yaml.template b/upup/models/cloudup/resources/addons/metrics-server.addons.k8s.io/k8s-1.11.yaml.template index f666cb2aa62ef..d12c5f4dfcf3e 100644 --- a/upup/models/cloudup/resources/addons/metrics-server.addons.k8s.io/k8s-1.11.yaml.template +++ b/upup/models/cloudup/resources/addons/metrics-server.addons.k8s.io/k8s-1.11.yaml.template @@ -1,4 +1,4 @@ -# sourced from https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.4.3/components.yaml +# sourced from https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.4.4/components.yaml --- apiVersion: v1 kind: ServiceAccount @@ -138,7 +138,7 @@ spec: - --kubelet-insecure-tls - --cert-dir=/tmp {{ end }} - image: {{ or .MetricsServer.Image "k8s.gcr.io/metrics-server/metrics-server:v0.4.3" }} + image: {{ or .MetricsServer.Image "k8s.gcr.io/metrics-server/metrics-server:v0.4.4" }} imagePullPolicy: IfNotPresent livenessProbe: failureThreshold: 3 diff --git a/upup/pkg/fi/cloudup/bootstrapchannelbuilder/bootstrapchannelbuilder.go b/upup/pkg/fi/cloudup/bootstrapchannelbuilder/bootstrapchannelbuilder.go index c0e8b3cb395ef..2d72acd4a4738 100644 --- a/upup/pkg/fi/cloudup/bootstrapchannelbuilder/bootstrapchannelbuilder.go +++ b/upup/pkg/fi/cloudup/bootstrapchannelbuilder/bootstrapchannelbuilder.go @@ -484,7 +484,7 @@ func (b *BootstrapChannelBuilder) buildAddons(c *fi.ModelBuilderContext) (*chann if b.Cluster.Spec.MetricsServer != nil && fi.BoolValue(b.Cluster.Spec.MetricsServer.Enabled) { { key := "metrics-server.addons.k8s.io" - version := "0.3.7" + version := "0.4.4" { location := key + "/k8s-1.11.yaml"