yusufdaud-anaplan opened a new issue, #701: URL: https://github.com/apache/pulsar-helm-chart/issues/701
## 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](https://github.com/apache/pulsar-helm-chart/blob/master/charts/pulsar/templates/bookkeeper-pdb.yaml), [broker](https://github.com/apache/pulsar-helm-chart/blob/master/charts/pulsar/templates/broker-pdb.yaml), [proxy](https://github.com/apache/pulsar-helm-chart/blob/master/charts/pulsar/templates/proxy-pdb.yaml), [zookeeper](https://github.com/apache/pulsar-helm-chart/blob/master/charts/pulsar/templates/zookeeper-pdb.yaml) PDB templates. ## Why redundant Chart requires [`>=1.25.0`](https://github.com/apache/pulsar-helm-chart/blob/master/charts/pulsar/Chart.yaml). `policy/v1beta1` PDB was [removed in 1.25](https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25). Always use `policy/v1`. ## Fix Remove the `semverCompare` conditional; always render `apiVersion: policy/v1`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
