kokuwaio / helm-charts

helm charts maintained by the kokuwa project
GNU General Public License v3.0
42 stars 70 forks source link

policy/v1beta1 Deprecated in 1.25 - Replace with policy/v1 #167

Closed OC-Takeru closed 1 year ago

OC-Takeru commented 1 year ago

Describe the bug policy/v1beta1 is deprecated since K8s Version 1.25 and needs to be replaced with policy/v1 With the "Kubent" Tool I was able to check what APIs will be deprecated and found that the policy for PodDisruptionBudget of elasticsearch-master-pdb is not how it should be with K8s v1.25.

Here is the Link for latest Release of the pdb file: https://github.com/kokuwaio/helm-charts/blob/fluentd-elasticsearch-13.11.0/charts/fluentd-elasticsearch/templates/pod-security-policy.yaml

Which version of the chart: Im currently using 13.2.0 and going through deprecated APIs, thats how I found the bug.

What you expected to happen: Please change this in the File and Merge it please. Or I can if needed