Files
IvanHunters 3405625032 fix(kubernetes): make Talos worker image fields optional in schema
The five talos.* fields (version, schematicID, imageFactoryURL,
installerRepository, registryMirrors) all carry defaults but were
annotated without the optional bracket, so cozyvalues-gen emitted them
into the schema's required list. A required field that also has a
default breaks 'helm upgrade --reuse-values': reused values from an
older chart omit any newly added field, and schema validation rejects
the render before defaults are applied. registryMirrors was the first
to surface this, having been added to a section users were already
running.

Mark all five optional with the [field] annotation and regenerate the
schema, embedded CRD and Go types. Defaults are unchanged, so platform
installs and chart rendering are unaffected.

Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>
2026-08-24 15:15:31 +03:00
..