From add570ff04c01cb88702c0eac97c37fd759370b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20=22WanzenBug=22=20Wanzenb=C3=B6ck?= Date: Tue, 12 Jan 2021 22:23:40 +0100 Subject: [PATCH] Update k8s-await-election to fix golang crashes Older versions of k8s-await-election would lead to crashes on ubuntu systems. The golang version used to build (1.14.0) was not recognizing the ubuntu kernel version, applying a workaround for an already fixed issue that would end in random crashes. See: https://github.com/golang/go/issues/37436 --- Dockerfile.controller | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.controller b/Dockerfile.controller index 583a09f60..7d746bfbf 100644 --- a/Dockerfile.controller +++ b/Dockerfile.controller @@ -73,7 +73,7 @@ RUN yum -y update-minimal --security --sec-severity=Important --sec-severity=Cri rm /tmp/*.rpm && yum clean all -y ARG ARCH=amd64 -ARG K8S_AWAIT_ELECTION_VERSION=v0.2.0 +ARG K8S_AWAIT_ELECTION_VERSION=v0.2.2 RUN curl --fail --location "https://github.com/LINBIT/k8s-await-election/releases/download/${K8S_AWAIT_ELECTION_VERSION}/k8s-await-election-${K8S_AWAIT_ELECTION_VERSION}-linux-${ARCH}.tar.gz" | tar -xvz -C /usr/local/bin/ RUN groupadd linstor