File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -260,11 +260,7 @@ const (
260
260
MinExternalEtcdVersion = "3.2.18"
261
261
262
262
// DefaultEtcdVersion indicates the default etcd version that kubeadm uses
263
- DefaultEtcdVersion = "3.3.15"
264
-
265
- // DefaultEtcdImageVersion indicates the etcd image version that kubeadm uses.
266
- // For example, the image version of "k8s.gcr.io/etcd:3.3.15-0" is "0".
267
- DefaultEtcdImageVersion = "0"
263
+ DefaultEtcdVersion = "3.3.15-0"
268
264
269
265
// PauseVersion indicates the default pause image version for kubeadm
270
266
PauseVersion = "3.1"
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ func GetEtcdImage(cfg *kubeadmapi.ClusterConfiguration) string {
68
68
etcdImageRepository = cfg .Etcd .Local .ImageRepository
69
69
}
70
70
// Etcd uses an imageTag that corresponds to the etcd version matching the Kubernetes version
71
- etcdImageTag := fmt . Sprintf ( "%s-%s" , constants .DefaultEtcdVersion , constants . DefaultEtcdImageVersion )
71
+ etcdImageTag := constants .DefaultEtcdVersion
72
72
etcdVersion , err := constants .EtcdSupportedVersion (cfg .KubernetesVersion )
73
73
if err == nil {
74
74
etcdImageTag = etcdVersion .String ()
You can’t perform that action at this time.
0 commit comments