File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ services:
28
28
- server
29
29
container_name : k3s-agent-1
30
30
image : " e2e/cluster/local/k3s"
31
+ build :
32
+ context : ./images/k3s/.
33
+ args :
34
+ - ARCH=${ARCH}
31
35
command : agent --server https://k3s-server-1:6443
32
36
environment :
33
37
- K3S_TOKEN=e2e
Original file line number Diff line number Diff line change @@ -11,14 +11,13 @@ RUN set -x \
11
11
&& if [ "${ARCH?required}" != "amd64" ]; then \
12
12
K3S_SUFFIX="-${ARCH}" ; \
13
13
fi \
14
- && curl -fsSL "https://github.com/rancher /k3s/releases/download/${K3S_VERSION}/k3s${K3S_SUFFIX}" > /bin/k3s \
14
+ && curl -fsSL "https://github.com/k3s-io /k3s/releases/download/${K3S_VERSION}/k3s${K3S_SUFFIX}" > /bin/k3s \
15
15
&& chmod +x /bin/k3s \
16
16
&& ln -s /bin/k3s /bin/kubectl \
17
17
&& ln -s /bin/k3s /bin/ctr \
18
18
&& k3s --version
19
19
20
20
COPY scratch/*-${ARCH}.tar /var/lib/rancher/k3s/agent/images/
21
- # ADD https://github.com/rancher/k3s/releases/download/${K3S_VERSION}/k3s-airgap-images-${ARCH}.tar /var/lib/rancher/k3s/agent/images/
22
21
23
22
VOLUME /var/lib/cni
24
23
VOLUME /var/lib/kubelet
You can’t perform that action at this time.
0 commit comments