mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
feat(cozyplane): bump to the v0.1.5 release
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>
This commit is contained in:
1 parent
64cd55a161
commit
f17cd76d5e
11 files changed
+24
-17
No files matched your search
@@ -7,7 +7,7 @@ include ../../../hack/package.mk
|
||||
# The lllamnyp/cozyplane ref charts/cozyplane-apiserver 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=ce771d6122df1a296ea1bfec372ddb44b5b439fc
|
||||
COZYPLANE_REF=b99171ea7c33319dad4f2b401898c1ddb089d85b
|
||||
|
||||
test:
|
||||
helm unittest .
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Container image (shared with the cozyplane chart — the apiserver binary lives
|
||||
# in the same image). Digest-pinned (no floating tag); keep it equal to
|
||||
# chart/cozyplane/values.yaml's pin. See docs/packaging.md.
|
||||
image: ghcr.io/lllamnyp/cozyplane@sha256:0c0aff04cc029306942258a361223229766ff8fd9ae23167e7f003ce6ad5a53f
|
||||
image: ghcr.io/lllamnyp/cozyplane@sha256:3233ef875fe220cdadd57ec6b138577b738fe61bec9a41051ed9a59d64973edf
|
||||
imagePullPolicy: IfNotPresent
|
||||
imagePullSecrets: []
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
cozyplane-apiserver:
|
||||
# The cozyplane release's image by tag and digest, for mirroring and
|
||||
# promotion; the vendored chart pins a digest only.
|
||||
image: ghcr.io/lllamnyp/cozyplane:v0.1.2@sha256:0fbf42fca2f65fc500a0b48738ee321c483246952fc013d249b6bb27445cc19f
|
||||
image: ghcr.io/lllamnyp/cozyplane:v0.1.5@sha256:2cc55293000b64a4c4233910cbc3803b9bea7c16e9e7d44ddcc44fb4042cdd98
|
||||
# The aggregated apiserver backs every tenant's SDN API.
|
||||
replicas: 2
|
||||
etcd:
|
||||
|
||||
@@ -7,7 +7,7 @@ include ../../../hack/package.mk
|
||||
# The lllamnyp/cozyplane ref charts/cozyplane-kpr 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=ce771d6122df1a296ea1bfec372ddb44b5b439fc
|
||||
COZYPLANE_REF=b99171ea7c33319dad4f2b401898c1ddb089d85b
|
||||
|
||||
test:
|
||||
helm unittest .
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
cozyplane-kpr:
|
||||
# The cozyplane release's image by tag and digest, for mirroring and
|
||||
# promotion; the vendored chart pins a digest only.
|
||||
image: ghcr.io/lllamnyp/cozyplane-kpr:v0.1.2@sha256:39cd8391952c951c050fe818e4e9a0f83deb10caef20741093e39cea54f4ce01
|
||||
image: ghcr.io/lllamnyp/cozyplane-kpr:v0.1.5@sha256:28254bdc0283b3797ea8c5f26146932c46b0be98a15cdd660cb42330963cb01c
|
||||
@@ -7,7 +7,7 @@ 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=ce771d6122df1a296ea1bfec372ddb44b5b439fc
|
||||
COZYPLANE_REF=b99171ea7c33319dad4f2b401898c1ddb089d85b
|
||||
|
||||
test:
|
||||
helm unittest .
|
||||
|
||||
@@ -88,6 +88,10 @@ rules:
|
||||
- apiGroups: ["sdn.cozystack.io"]
|
||||
resources: ["hostfirewalls"]
|
||||
verbs: ["get", "list", "watch"]
|
||||
# PortClaims: the CNI plugin binds a pod to the claim its annotation names.
|
||||
- apiGroups: ["sdn.cozystack.io"]
|
||||
resources: ["portclaims"]
|
||||
verbs: ["get"]
|
||||
# FloatingIPs: the agent programs the floating map and advertises the address
|
||||
# for those whose target Port is on this node.
|
||||
- apiGroups: ["sdn.cozystack.io"]
|
||||
|
||||
@@ -60,6 +60,14 @@ rules:
|
||||
- apiGroups: ["sdn.cozystack.io"]
|
||||
resources: ["vpcpeerings/status"]
|
||||
verbs: ["get", "update", "patch"]
|
||||
# PortClaims: bind each claim's Port to its lifetime and publish the pinned
|
||||
# identity in status; the finalizer holds the claim until its Port is gone.
|
||||
- apiGroups: ["sdn.cozystack.io"]
|
||||
resources: ["portclaims"]
|
||||
verbs: ["get", "list", "watch", "update", "patch"]
|
||||
- apiGroups: ["sdn.cozystack.io"]
|
||||
resources: ["portclaims/status", "portclaims/finalizers"]
|
||||
verbs: ["get", "update", "patch"]
|
||||
# FloatingIPs: own the delegated LoadBalancer Service that sources the address
|
||||
# and gate readiness on a live target Port (docs/external-addresses.md).
|
||||
- apiGroups: ["sdn.cozystack.io"]
|
||||
@@ -87,13 +95,6 @@ rules:
|
||||
- apiGroups: ["discovery.k8s.io"]
|
||||
resources: ["endpointslices"]
|
||||
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
|
||||
# VirtualMachineInstances: the migration controller reads status.nodeName /
|
||||
# status.migrationState as the cutover signal (the Kube-OVN model). Optional —
|
||||
# only present when KubeVirt is installed; the controller degrades to the
|
||||
# launcher-pod signal without it.
|
||||
- apiGroups: ["kubevirt.io"]
|
||||
resources: ["virtualmachineinstances"]
|
||||
verbs: ["get", "list", "watch"]
|
||||
# Gateway Deployments for a VPCGateway family with no eBPF identity yet
|
||||
# (one with addresses for every family is pure eBPF — docs/north-south.md §6a).
|
||||
# Read-only cluster-wide because the manager's informer cache is not namespace
|
||||
@@ -106,8 +107,7 @@ rules:
|
||||
resources: ["deployments"]
|
||||
verbs: ["get", "list", "watch"]
|
||||
# Severed-gateway heal: recreate a Ready gateway pod whose .1 Port is gone.
|
||||
# watch: the persistent-Port controller watches virt-launcher pods to drive
|
||||
# live-migration cutover (kubevirt.io/nodeName) and GC.
|
||||
# watch: the PortClaim controller follows the pods that bind each claim.
|
||||
- apiGroups: [""]
|
||||
resources: ["pods"]
|
||||
verbs: ["get", "list", "watch", "delete"]
|
||||
|
||||
@@ -23,6 +23,7 @@ rules:
|
||||
- vpcpeerings
|
||||
- securitygroups
|
||||
- floatingips
|
||||
- portclaims
|
||||
- natgateways
|
||||
- routetables
|
||||
- routes
|
||||
@@ -34,6 +35,7 @@ rules:
|
||||
- vpcpeerings/status
|
||||
- securitygroups/status
|
||||
- floatingips/status
|
||||
- portclaims/status
|
||||
- natgateways/status
|
||||
- routetables/status
|
||||
- routes/status
|
||||
@@ -67,6 +69,7 @@ rules:
|
||||
- vpcpeerings
|
||||
- securitygroups
|
||||
- floatingips
|
||||
- portclaims
|
||||
- natgateways
|
||||
- routetables
|
||||
- routes
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Digest-pinned (no floating tag). Built and published by .github/workflows/
|
||||
# release.yml on every push to main; see docs/packaging.md for how the digest is
|
||||
# refreshed and why pinning it does not change it.
|
||||
image: ghcr.io/lllamnyp/cozyplane@sha256:0c0aff04cc029306942258a361223229766ff8fd9ae23167e7f003ce6ad5a53f
|
||||
image: ghcr.io/lllamnyp/cozyplane@sha256:3233ef875fe220cdadd57ec6b138577b738fe61bec9a41051ed9a59d64973edf
|
||||
imagePullPolicy: IfNotPresent
|
||||
imagePullSecrets: []
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
cozyplane:
|
||||
# The cozyplane release's image by tag and digest, for mirroring and
|
||||
# promotion; the vendored chart pins a digest only.
|
||||
image: ghcr.io/lllamnyp/cozyplane:v0.1.2@sha256:0fbf42fca2f65fc500a0b48738ee321c483246952fc013d249b6bb27445cc19f
|
||||
image: ghcr.io/lllamnyp/cozyplane:v0.1.5@sha256:2cc55293000b64a4c4233910cbc3803b9bea7c16e9e7d44ddcc44fb4042cdd98
|
||||
Reference in new issue
Block a user