everyone,
I was trying to learn about Kong Gateway and its working. I installed Helm in a GKE cluster with version 1.27, but I couldn’t enable the PodSecurity Policy in values.yaml and upgrade the Helm. The error was
(Error: UPGRADE FAILED: execution error at (kong/templates/psp.yaml:2:15): Cluster doesn’t have policy/v1beta1 API.)
Can anyone help me with it?
Thank you!
changed podsecurity policy to true in helm chart of kong error
I tried to install the kong with pod security enable in gke clusster 1.27 i got this error can anyone help me with it
PodSecurityPolicy has been deprecated with Kubernetes 1.21
and has been removed with Kubernetes 1.25
Since your try to install on 1.27 you can't configure PodSecurityPolicy in the chart. You sould first check if your chart is outdated and update it.
Read more about the topic here.