Closed cz-hong closed 4 months ago
it seems that elasticsearch helm chart template included in backingservices-2.6.2.tgz does not compatible with kubernetes v1.25.
~$ tar -xzvf /home/pega/.cache/helm/repository/backingservices-2.6.2.tgz
~$ find backingservices/ -name "*.yaml" -exec grep -Hn "policy/v1beta1" {} \;
backingservices/charts/elasticsearch/templates/podsecuritypolicy.yaml:3:apiVersion: policy/v1beta1
backingservices/charts/elasticsearch/templates/poddisruptionbudget.yaml:3:apiVersion: policy/v1beta1
backingservices/charts/srs/templates/srsservice_poddisruptionbudget.yaml:6:apiVersion: policy/v1beta1
~$ cat backingservices/charts/elasticsearch/templates/poddisruptionbudget.yaml
---
{{- if .Values.maxUnavailable }}
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: "{{ template "elasticsearch.uname" . }}-pdb"
spec:
maxUnavailable: {{ .Values.maxUnavailable }}
selector:
matchLabels:
app: "{{ template "elasticsearch.uname" . }}"
{{- end }}
The issue is addressed in #454 Kindly try the deployment on the latest version and revert to us in case of further issues.
Describe the bug helm install backingservices fails with error messages. Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1"
To Reproduce follow the instruction described on https://github.com/pegasystems/pega-helm-charts
Chart version pega/pega 2.6.2 Pega installation on kubernetes pega/addons 2.6.2 1.0 A Helm chart for Kubernetes pega/backingservices 2.6.2 Helm Chart to provision the latest Search and R...
Server (if applicable, please complete the following information):
Additional context