mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
The worker image of a node pool takes one of builtin and factory, a vm-disk source one of disk, http, image and upload, and the oidc customConfig of a kubernetes cluster and of a monitoring stack one of config and secretRef, and each chart refuses a spec that sets two. An installation default for one child merged into an application that chose another built exactly that spec, and nothing warned at create time. The x-kubernetes-map-type: atomic marker makes the defaults merge replace the object whole. Nothing else reads it, so existing applications render as before. The marker stays off objects whose fields must be set together or sit beside independent fields, where replacing the object whole would drop a default the user did not mean to override. The chart guide says when to use it and when not to. The tests run the merge against the four real schemas, and one more pins that a pair like resources cpu and memory still merges field by field. Assisted-by: LLM Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>