Skip to content

Charts still write Kubernetes settings as v1alpha1, so no project can target a v1.14 contract #241

Description

From Talos v1.14 the Kubernetes settings live in documents of their own: KubeletConfig, KubeAPIServerConfig, KubeClusterConfig and siblings. The shipped charts still write the v1alpha1 shape (machine.kubelet, machine.nodeLabels, cluster.clusterName), and machinery rejects a config that carries both. So a render against a v1.14 contract cannot succeed, and both presets are pinned at or below v1.13:

templateOptions:
  talosVersion: "v1.13"   # generic
  talosVersion: "v1.12"   # cozystack

checkSupersededFields stops such a render with a hint naming the fields, which is the right behaviour for now, but it means talm tracks v1.14 machinery while nothing can target the v1.14 contract.

Teaching the charts to emit the typed documents lifts that ceiling. It is not a mechanical rename: a chart-emitted KubeletConfig replaces the bundle's rather than merging with it, and the bundle's copy is the one carrying image, so a chart that emits the document without the image produces a config machinery rejects at apply time rather than at render time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/chartIssues or PRs related to charts/ (Chart.yaml, helpers, templates)area/engineIssues or PRs related to pkg/engine (rendering, MergeFileAsPatch, helm)kind/featureCategorizes issue or PR as related to a new feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions