Skip to content

Commit

Permalink
Update k8s-await-election to fix golang crashes
Browse files Browse the repository at this point in the history
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: golang/go#37436
  • Loading branch information
WanzenBug committed Jan 12, 2021
1 parent f65c4e8 commit add570f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.controller
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit add570f

Please sign in to comment.