Skip to content

feat(helm): per-cluster capability profile as declared render inputs #1235

Closed

Description

@lex00

Part of #1228 — Phase 1.

Blocked by: Phase 0 (#{p0}) — nothing else merges first

What

helm template silently defaults the kube version rather than failing, and the default is a
property of the helm binary. Pinning requires the profile be declared, not inherited.

Profiles are scoped per cluster (see epic Decisions): each cluster declares its own
kubeVersion / apiVersions, and a render is pinned against exactly one profile.

Acceptance

  • --kube-version and --api-versions are set from a declared per-cluster profile
  • Rendering without a declared profile is an error, not a silent default
  • Profile is recorded in RenderManifest.capabilityProfile

Context

Verified: helm template reported v1.35.0 against a cluster running v1.33.6+k3s1.
The default also differs by binary — v1.31.0 on helm 3.16.2 vs v1.35.0 on 4.1.1 — so two
engineers on different helm versions produce different digests for identical inputs unless
the profile is pinned (epic finding 1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:helmenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions