Skip to content

chart: helm rollback still fails for the revision that seeds a MeshConfig in a namespace the same revision creates (the edge, by default) #1514

Closed as not planned

Description

@bpalermo

#1513 makes the seeded MeshConfig a pre-install/pre-upgrade hook, so it is in no revision's manifest and helm rollback to the seeding revision works (#1471). A pre-install hook cannot create an object in a namespace the same revision creates, so in two cases the seed is still a release object on that one revision:

  • the edge's MeshConfig with edge.namespaceCreate=true, the default once edge.enabled=true;
  • the control plane's with namespace.create=true.

Measured on kind (Helm 3.18.4): with edge.enabled=true at defaults, helm rollback <release> 1 fails with no MeshConfig with the name "default" found and leaves the release failed. With edge.namespaceCreate=false and an operator-made namespace it succeeds. The runbook section "Chart 2.4.24" has the way round.

No chart-only fix was found that neither deadlocks --wait nor risks operator edits. Routes: the controller seeds the edge MeshConfig, or the edge pod does not require the projected ConfigMap to start.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Activity

  1. added
    bug
    chart
    on Oct 9, 2026
  2. bpalermo commented on Oct 9, 2026

    @bpalermo
    OwnerAuthor

    #1567 fixes the edge case (the edge's MeshConfig stays in every revision's manifest when the chart created the edge namespace). What remains is the control-plane MeshConfig with namespace.create=true and the release stored in another namespace, under Helm 3 only: its seed carries meshConfig.proxy, so re-rendering it would patch over operator edits. Not reproduced separately; same code path. Measured with Helm 4.2.0: neither rollback failure occurs there, so the remainder may be closed as won't-fix once Helm 3 is no longer supported.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

  3. bpalermo commented on Oct 10, 2026

    @bpalermo
    OwnerAuthor
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

    bugchart

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions