mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-06 07:03:45 +09:00
v0.1.5 adds the PortClaim kind: a pod naming a claim in its sdn.cozystack.io/port-claim annotation keeps the claim's IP and MAC across launcher pods. A claim that adopts a running VM's Port keeps it bound to the pod already holding it and reports Bound=True with reason PreClaimPod. Without a claim a VM now gets a new IP and MAC on every launcher pod, live migration included, so vm-instance claims one in the next commit. The aggregated apiserver now sets metadata.generation, and the controllers stamp observedGeneration, so a retargeted FloatingIP no longer keeps its old target's status. The vendored charts pin a main build, so the wrappers keep pinning the release images by tag and digest. Assisted-by: LLM Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
21 lines
755 B
Makefile
21 lines
755 B
Makefile
export NAME=cozyplane
|
|
export NAMESPACE=cozy-$(NAME)
|
|
|
|
include ../../../hack/common-envs.mk
|
|
include ../../../hack/package.mk
|
|
|
|
# The lllamnyp/cozyplane ref charts/cozyplane is vendored from, verbatim. Keep the
|
|
# three cozyplane packages on the same ref; Cozystack's settings live in this
|
|
# wrapper, never in the vendored chart.
|
|
COZYPLANE_REF=b99171ea7c33319dad4f2b401898c1ddb089d85b
|
|
|
|
test:
|
|
helm unittest .
|
|
|
|
update:
|
|
mkdir -p charts && tmp=$$(mktemp -d charts/.update.XXXXXX) && \
|
|
{ curl -fsSL https://github.com/lllamnyp/cozyplane/archive/$(COZYPLANE_REF).tar.gz | \
|
|
tar -xzf - -C "$$tmp" --strip-components=3 cozyplane-$(COZYPLANE_REF)/chart/cozyplane || \
|
|
{ rm -rf "$$tmp"; exit 1; }; } && \
|
|
rm -rf charts/cozyplane && mv "$$tmp" charts/cozyplane
|