chore(k3s): add K3S_EXEC env

This commit is contained in:
nyyu 2024-05-20 09:16:44 +02:00
parent 54e46beade
commit fafe7b757b
4 changed files with 6 additions and 5 deletions

View File

@ -13,8 +13,8 @@ pkgbase = k3s-bin
source = k3s.service
source = k3s.service.env
source = k3s-killall.sh
sha256sums = 571af7c8403f2f433afa50702a53658dbb9f846da7c6ac2a3ba6cc454039429a
sha256sums = 667199fa6b811dde3aef3e626e2695a566ad64c9a03d19d0c94a1f104a7612d0
sha256sums = 808dd11d5378e5b84397a5258dd5a3b97bb2994951d3da39c806fcf165c6a939
sha256sums = 76b6c39e6f8520f9791541a3c9593dda8c65f901588778ad9249ae237a70c0c8
sha256sums = 73662123fb2273bcb520231838cbfa6360d0f4354fc958284c4bf07c1a9f027d
source_x86_64 = k3s-1.30.0+k3s1-x86_64::https://github.com/rancher/k3s/releases/download/v1.30.0+k3s1/k3s
sha256sums_x86_64 = e4b85e74d7be314f39e033142973cc53619f4fbaff3639a420312f20dea12868

View File

@ -28,8 +28,8 @@ source_aarch64=(
"k3s-${pkgver}-aarch64::https://github.com/rancher/k3s/releases/download/v${pkgver}/k3s-arm64"
)
sha256sums=('571af7c8403f2f433afa50702a53658dbb9f846da7c6ac2a3ba6cc454039429a'
'667199fa6b811dde3aef3e626e2695a566ad64c9a03d19d0c94a1f104a7612d0'
sha256sums=('808dd11d5378e5b84397a5258dd5a3b97bb2994951d3da39c806fcf165c6a939'
'76b6c39e6f8520f9791541a3c9593dda8c65f901588778ad9249ae237a70c0c8'
'73662123fb2273bcb520231838cbfa6360d0f4354fc958284c4bf07c1a9f027d')
sha256sums_x86_64=('e4b85e74d7be314f39e033142973cc53619f4fbaff3639a420312f20dea12868')
sha256sums_armv7h=('73e830f7c3e9bc774fe3fcfaaba82ce6ea04498592d26a8aa1a58e75d9837166')

View File

@ -11,7 +11,7 @@ EnvironmentFile=-/etc/sysconfig/%N
EnvironmentFile=-/etc/systemd/system/k3s.service.env
ExecStartPre=-/sbin/modprobe br_netfilter
ExecStartPre=-/sbin/modprobe overlay
ExecStart=/usr/bin/k3s server
ExecStart=/usr/bin/k3s server $K3S_EXEC
KillMode=process
Delegate=yes
# Having non-zero Limit*s causes performance problems due to accounting overhead

View File

@ -1,3 +1,4 @@
# K3S_EXEC=
# K3S_URL=
# K3S_TOKEN=
# K3S_CLUSTER_SECRET=