You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eight fields of the kind: kubernetes cluster template are authorable and silently
inert: #Kubernetes is CLOSED, so they validate, and then nothing reads them. For secret: in particular that is worse than a missing field — an operator who writes
gets no ExternalSecret, no secretKeyRef wiring, and no error, while the schema
comment (schema/kubernetes.cue:93-97) reads as a live contract.
Evidence (RCA)
Zero consumers, verified both by grep over the pinned checkouts and by the read set of the
one generator that consumes a cluster template (plugin-k8sgen's opts.Cluster.*:
TODO.md:68 already lists "most of #Kubernetes" in the unused-fields deletion inventory;
this issue is the execution of that item for these eight.
Blast radius
Any user config that sets one of them believes it took effect. The claim-keyed sweep must
therefore cover the surfaces that present them as live: .dsh/skills/kubernetes ("every
non-scalar policy block … is where cluster knobs live"), the kubernetes skill entity in layer-charly-kubernetes, and schema/kubernetes.cue's own header comment.
Scope of the PR that closes this
Delete the eight fields from schema/kubernetes.cue (and #KubernetesResources, #KubernetesHostname, #KubernetesGatewayAPI, #KubernetesObservability, #KubernetesSecretsBackend if nothing else uses them), regenerate with charly task cue-gen, and sweep every doc/skill/comment that presents them as live.
Out of scope here (deliberately, with its own decision):#KubernetesKubeVirt.* — use_emulation etc. are inert too, but the fix there is to wire the escape hatch the
schema documents rather than delete it (tracked separately).
Agent: dsh-k8s-ext
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
Activity
chore(schema): remove the eight inert #Kubernetes cluster-template fi…