diff --git a/packages/k8s/rke2/build.yaml b/packages/k8s/rke2/build.yaml index 84c0217..c43fc62 100644 --- a/packages/k8s/rke2/build.yaml +++ b/packages/k8s/rke2/build.yaml @@ -1,3 +1,4 @@ +{{ if eq .Values.arch "amd64" }} requires: - name: "toolchain-ubuntu" category: "development" @@ -7,8 +8,6 @@ env: - INSTALL_RKE2_VERSION=v{{.Values.version}}+{{.Values.rke2_release}} - INSTALL_RKE2_TAR_PREFIX={{.Values.rke2_install_dir}} - DEBIAN_FRONTEND=noninteractive -prelude: -- apt-get update && apt-get install -y curl systemd sudo steps: - curl -sfL {{.Values.rke2_http_source}} > installer.sh @@ -17,3 +16,4 @@ steps: - rm -rf installer.sh - systemctl disable rke2-server rke2-agent - curl -LO https://dl.k8s.io/release/v{{.Values.version}}/bin/linux/{{.Values.arch}}/kubectl && chmod +x kubectl && mv kubectl /usr/bin +{{end}}