mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-03 02:27:01 +09:00
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>