Shohou opened a new issue, #357:
URL: https://github.com/apache/pulsar-helm-chart/issues/357

   **Describe the bug**
   when I try to update my helm chart in AWS EKS cluster I get the following 
errors:
   ```
   Error: UPGRADE FAILED: unable to build kubernetes objects from current 
release manifest: [resource mapping not found for name: "pulsar-bookie" 
namespace: "pulsar" from "": no matches for kind "PodDisruptionBudget" in 
version "policy/v1beta1"
   ensure CRDs are installed first, resource mapping not found for name: 
"pulsar-broker" namespace: "pulsar" from "": no matches for kind 
"PodDisruptionBudget" in version "policy/v1beta1"
   ensure CRDs are installed first, resource mapping not found for name: 
"pulsar-proxy" namespace: "pulsar" from "": no matches for kind 
"PodDisruptionBudget" in version "policy/v1beta1"
   ensure CRDs are installed first]
   ```
   
   I see that chart was updated for kubernetes 1.25 (#289) and indeed I was 
able to upgrade it on microk8s clusters. My guess is that on EKS kubernetes 
version looks like `v1.25.6-eks-48e63af` and this check `{{- if semverCompare 
">=1.21" .Capabilities.KubeVersion.GitVersion }}` do not work. Maybe checking 
availability of the resource is a better option - `{{- if 
.Capabilities.APIVersions.Has "policy/v1/PodDisruptionBudget" }}`


-- 
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]

Reply via email to