From 2fb35344c2d3735a4395fdff062e3566c28d0839 Mon Sep 17 00:00:00 2001 From: Leo Ryu Date: Sun, 24 Apr 2022 11:41:04 +0800 Subject: [PATCH] feat(installer): add kube webhook image (#1862) --- .../app/installer/images/images.go | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/cmd/tke-installer/app/installer/images/images.go b/cmd/tke-installer/app/installer/images/images.go index b5a50dbb5..09f6fe33e 100644 --- a/cmd/tke-installer/app/installer/images/images.go +++ b/cmd/tke-installer/app/installer/images/images.go @@ -48,11 +48,12 @@ type BaseComponents struct { } type ExComponents struct { - Registry containerregistry.Image - Busybox containerregistry.Image - InfluxDB containerregistry.Image - Thanos containerregistry.Image - NginxIngress containerregistry.Image + Registry containerregistry.Image + Busybox containerregistry.Image + InfluxDB containerregistry.Image + Thanos containerregistry.Image + NginxIngress containerregistry.Image + KebeWebhookCertgen containerregistry.Image TKEBusinessAPI containerregistry.Image TKEBusinessController containerregistry.Image @@ -88,11 +89,12 @@ func (c Components) Get(name string) *containerregistry.Image { var Version = version.Get().GitVersion var exComponents = ExComponents{ - Registry: containerregistry.Image{Name: "registry", Tag: "2.7.1"}, - Busybox: containerregistry.Image{Name: "busybox", Tag: "1.31.1"}, - InfluxDB: containerregistry.Image{Name: "influxdb", Tag: "1.7.9"}, - Thanos: containerregistry.Image{Name: "thanos", Tag: "v0.15.0"}, - NginxIngress: containerregistry.Image{Name: "ingress-nginx-controller", Tag: "v1.1.3"}, + Registry: containerregistry.Image{Name: "registry", Tag: "2.7.1"}, + Busybox: containerregistry.Image{Name: "busybox", Tag: "1.31.1"}, + InfluxDB: containerregistry.Image{Name: "influxdb", Tag: "1.7.9"}, + Thanos: containerregistry.Image{Name: "thanos", Tag: "v0.15.0"}, + NginxIngress: containerregistry.Image{Name: "ingress-nginx-controller", Tag: "v1.1.3"}, + KebeWebhookCertgen: containerregistry.Image{Name: "kube-webhook-certgen", Tag: "v1.1.1"}, TKEBusinessAPI: containerregistry.Image{Name: "tke-business-api", Tag: Version}, TKEBusinessController: containerregistry.Image{Name: "tke-business-controller", Tag: Version},