Skip to content

Commit dff56d8

Browse files
sfacklersmira
authored andcommitted
chore: remove arch-specific etcd image tag
The main etcd tag is now multiarch so the special case isn't needed. Signed-off-by: Steven Fackler <[email protected]> Signed-off-by: Andrey Smirnov <[email protected]>
1 parent c9f1dec commit dff56d8

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

pkg/machinery/config/types/v1alpha1/v1alpha1_etcdconfig.go

+1-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package v1alpha1
66

77
import (
88
"fmt"
9-
goruntime "runtime"
109

1110
"github.com/siderolabs/crypto/x509"
1211

@@ -16,14 +15,9 @@ import (
1615
// Image implements the config.Etcd interface.
1716
func (e *EtcdConfig) Image() string {
1817
image := e.ContainerImage
19-
suffix := ""
20-
21-
if goruntime.GOARCH == "arm64" {
22-
suffix = "-arm64"
23-
}
2418

2519
if image == "" {
26-
image = fmt.Sprintf("%s:%s%s", constants.EtcdImage, constants.DefaultEtcdVersion, suffix)
20+
image = fmt.Sprintf("%s:%s", constants.EtcdImage, constants.DefaultEtcdVersion)
2721
}
2822

2923
return image

0 commit comments

Comments
 (0)