Files
Ivan Okhotnikov 9e2f7cc953 test(kubernetes-nodes): run render parity in make test
Wire tests/render-parity.sh into the chart's test target so CI verifies
the pool objects stay byte-identical to the parent render.

Signed-off-by: Ivan Okhotnikov <xorokhotnikov@gmail.com>
2026-07-21 22:35:10 +03:00

21 lines
723 B
Makefile

include ../../../hack/package.mk
.PHONY: test generate update
test:
helm unittest .
bash tests/render-parity.sh
generate:
cozyvalues-gen -m 'kubernetesnodes' -v values.yaml -s values.schema.json -r README.md -g ../../../api/apps/v1alpha1/kubernetesnodes/types.go
../../../hack/update-crd.sh
# Keep the worker-image inputs (Talos<->Kubernetes support matrix and the
# kubectl.tag used by the talos-reconcile Job) in lockstep with the parent
# kubernetes chart. They are copied, not symlinked, so `helm package` bundles
# them; run this after the parent chart's `make update`.
update:
cp ../kubernetes/files/versions.yaml files/versions.yaml
cp ../kubernetes/images/kubectl.tag images/kubectl.tag
$(MAKE) generate