Files
cozystack/packages
Aleksei Sviridkin f9308e1e02 refactor(computeplane): stop copying pool defaults into the default md0
The default md0 pool wrote maxReplicas, instanceType and diskSize with
the same values the KubernetesNodes schema already defaults to, so the
pool's size lived in two places and would drift on the next change to
the pool defaults. The comment justifying the copy was wrong: the
reservation evaluator defaults stored values against the kind's own
schema, so a sparse release reserves the same as one with its defaults
written out.

md0 again names its cluster, the ingress role and the scale-from-zero
lower bound, and leaves its size to the pool defaults. The pool chart
renders byte-identical manifests from either set of values, so an
existing ComputePlane neither resizes nor rolls its default pool.

Fixes: a231f8d22b ("refactor(extra): write the ComputePlane default pool's size into its release")
Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-11-25 12:40:22 +03:00
..