{
  "slug": "helmfile-applies-defaultinherit-templates-to-releases-5bcc7376cf16",
  "title": "helmfile applies defaultInherit templates to releases",
  "tools": [
    "helmfile"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-05-22T01:17:53.000Z",
  "announced_at": "2026-05-22T01:17:53.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When releases share templates, set top-level `defaultInherit` in `helmfile.yaml` to a template name or ordered list; Helmfile applies them to every release and does not duplicate templates already explicitly inherited. Use release `inherit[].except` to omit fields.",
    "examples": [
      "templates:\n  defaults:\n    namespace: kube-system\ndefaultInherit: defaults\nreleases:\n- name: <release-name>\n  chart: <chart>\n  version: <version>",
      "defaultInherit:\n  - ns-template\n  - defaults",
      "releases:\n- name: <release-name>\n  chart: <chart>\n  inherit:\n  - template: defaults\n    except:\n    - values"
    ],
    "gotchas": [
      "Version: v1.5.2",
      "defaultInherit: Top-level default template name or list of template names applied to all releases; list order determines merge order.",
      "inherit[].template (required): Name of the release template to inherit.",
      "inherit[].except: List of fields to exclude from that template.",
      "Prerequisite: Use Helmfile v1.5.2 or later for this feature.",
      "A referenced template must exist; the source mentions an error for a non-existent template."
    ]
  },
  "why_it_matters": "Configure a Helmfile repository whose releases share one or more templates without repeating `inherit` on every release.",
  "before": "Specify `inherit` on each release that should inherit the template.",
  "sources": [
    "https://github.com/helmfile/helmfile/releases/tag/v1.5.2",
    "https://github.com/helmfile/helmfile/pull/2600",
    "https://github.com/helmfile/helmfile/blob/v1.5.2/docs/writing-helmfile.md"
  ],
  "rank": 0.9805,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave1-20261014",
    "verdict_id": "wave1-20261014:wave1-20261014-40129b93726426a2-5:gate",
    "evidence_hash": "b600db6d937b45599bc98a929ab5f80c208fcca5dd0932959dc682e4e2861231"
  },
  "review": {
    "draft_hash": "fa5d23bf4eecb7ea85e799855570725213d8f70d1bab71a34d5b704999dd4216",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave1-20261014:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.78 (>= 0.6 needed)."
  }
}
