65ab88f214
etcd 3.2.24 is the required version for kubernetes 1.13 There is no 3.2.24 src rpm, so the github archive is used as the source code. The original spec file and additional files are from the etcd 3.2.22 src rpm in centos. Story: 2005198 Task: 30405 Depends-On: I8f7061a9577941c257046721dbf5e957375691ab Change-Id: Iab65a3bcd9e9d3f9968515c35675119bb06b9a54 Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
31 lines
976 B
Diff
31 lines
976 B
Diff
From b3e78645c1ffa84bcde511c90df4e3dde652c3fa Mon Sep 17 00:00:00 2001
|
|
From: Jan Chaloupka <jchaloup@redhat.com>
|
|
Date: Tue, 8 Aug 2017 15:01:04 +0200
|
|
Subject: [PATCH] expand etcd arch validation
|
|
|
|
---
|
|
etcdmain/etcd.go | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
diff --git a/etcdmain/etcd.go b/etcdmain/etcd.go
|
|
index 2f7f00d..61553d4 100644
|
|
--- a/etcdmain/etcd.go
|
|
+++ b/etcdmain/etcd.go
|
|
@@ -396,6 +396,13 @@ func checkSupportArch() {
|
|
if runtime.GOARCH == "amd64" || runtime.GOARCH == "ppc64le" {
|
|
return
|
|
}
|
|
+
|
|
+ if runtime.GOARCH == "arm64" || runtime.GOARCH == "s390x" {
|
|
+ plog.Warningf("Running etcd on %s architecture is experimental.", runtime.GOARCH)
|
|
+ plog.Warningf("Please report any bugs you encounter: https://bugzilla.redhat.com/")
|
|
+ return
|
|
+ }
|
|
+
|
|
if env, ok := os.LookupEnv("ETCD_UNSUPPORTED_ARCH"); ok && env == runtime.GOARCH {
|
|
plog.Warningf("running etcd on unsupported architecture %q since ETCD_UNSUPPORTED_ARCH is set", env)
|
|
return
|
|
--
|
|
2.7.5
|
|
|