## What this PR does Update the Cozystack scheduler to its latest version, supporting automatic placement of label selectors for affinity and topology spread constraints. ### Release note ```release-note [cozystack-scheduler] Update Cozystack scheduler to v0.2.0 with support for reusable affinity terms. ``` Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
11 lines
482 B
Makefile
11 lines
482 B
Makefile
export NAME=cozystack-scheduler
|
|
export NAMESPACE=kube-system
|
|
|
|
include ../../../hack/package.mk
|
|
|
|
update:
|
|
rm -rf charts
|
|
tag=$$(git ls-remote --tags --sort="v:refname" https://github.com/cozystack/cozystack-scheduler | awk -F'[/^]' 'END{print $$3}') && \
|
|
mkdir -p charts/cozystack-scheduler && \
|
|
curl -sSL https://github.com/cozystack/cozystack-scheduler/archive/refs/tags/$${tag}.tar.gz | \
|
|
tar xzvf - --strip 2 -C charts/cozystack-scheduler cozystack-scheduler-$${tag#*v}/chart
|