43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
# Contributor: Stefan Reimer <stefan@zero-downtime.net>
|
|
# Maintainer: Stefan Reimer <stefan@zero-downtime.net>
|
|
pkgname=kubezero
|
|
pkgver=1.25
|
|
pkgrel=0
|
|
pkgdesc="KubeZero release package"
|
|
url="https://git.zero-downtime.net/ZeroDownTime/alpine-overlay/src/branch/master/kubezero/kubezero"
|
|
arch="noarch"
|
|
license="AGPL-3.0"
|
|
# cri-o uses 1.25 to prevent the cgroup leaks, revert back to matching version with 1.25
|
|
depends="
|
|
cri-tools
|
|
cri-o~$pkgver
|
|
kubelet~$pkgver
|
|
kubectl~$pkgver
|
|
ecr-credential-provider~$pkgver
|
|
aws-iam-authenticator~0.6.2
|
|
"
|
|
options="!check"
|
|
#install="$pkgname.post-install"
|
|
|
|
source="
|
|
shared-sys-fs.start
|
|
evictLocalNode.sh
|
|
"
|
|
|
|
build() {
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
# make /sys shared
|
|
install -Dm755 "$srcdir"/shared-sys-fs.start "$pkgdir/etc/local.d/shared-sys-fs.start"
|
|
|
|
# drain local node
|
|
install -Dm755 "$srcdir"/evictLocalNode.sh "$pkgdir/usr/bin/evictLocalNode.sh"
|
|
}
|
|
|
|
sha512sums="
|
|
b0cadf577ea912630efabf8d104f2edaa79bd1697a1f9224ce8a75354dd204196c6d3c15c0318afa44be10be9696ce20ef0015198ee0b74050897d164f77ae60 shared-sys-fs.start
|
|
fce1013f7b1bfa8ee526de62e642a37fda3168889723e873d3fb69e257f4caa1423b5a14b9343b12a87f3b6f93c7d3861b854efda67ef2d6a42a5ca8cf3d1593 evictLocalNode.sh
|
|
"
|