Skip to content

Remove redundant policy/v1beta1 branching from PodDisruptionBudget templates #701

Closed

Description

@yusufdaud-anaplan

Problem

PDB templates use semverCompare "<1.21-0" on .Capabilities.KubeVersion.Version to pick policy/v1beta1 vs policy/v1. Pre-rendering with helm template in Kargo (no cluster context) can emit policy/v1beta1, which Argo CD fails to apply on Kubernetes 1.25+.

Affected: bookkeeper, broker, proxy, zookeeper PDB templates.

Why redundant

Chart requires >=1.25.0. policy/v1beta1 PDB was removed in 1.25. Always use policy/v1.

Fix

Remove the semverCompare conditional; always render apiVersion: policy/v1.

Activity

  1. changed the title [-]PDB templates render obsolete `policy/v1beta1` in offline GitOps renders[/-] [+]Remove redundant `policy/v1beta1` branching from PodDisruptionBudget templates[/+] on Jul 1, 2026
  2. added 2 commits that reference this issue on Jul 1, 2026
    4ab6ac4
    ec487cf
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions