Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm chart templates use outdated API [PodDisruptionBudget] #103

Open
ep4sh opened this issue Jun 3, 2024 · 0 comments
Open

helm chart templates use outdated API [PodDisruptionBudget] #103

ep4sh opened this issue Jun 3, 2024 · 0 comments
Milestone

Comments

@ep4sh
Copy link

ep4sh commented Jun 3, 2024

Hi team, please check the following issue with helm chart installation:

Steps to reproduce:

  1. $ git clone https://github.com/wallarm/api-firewall.git
  2. $ cd api-firewall/helm/api-firewall
  3. $ kubectl create ns apif
  4. $ helm upgrade --install apifw . -n apifw
    Release "apifw" does not exist. Installing it now.
    Error: unable to build kubernetes objects from release manifest: resource mapping not found for name: "apifw-api-firewall" namespace: "" from "": no matches for kind "PodDisruptionBudget" in version "extensions/v1beta1"
    ensure CRDs are installed first
  5. $ kubectl version
    Client Version: v1.30.1
    Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
    Server Version: v1.30.0

The same on kubernetes v1.25 and above.
The issue can be fixed by disabling podDisruptionBudget (set enabled to false).

My guess is PDB templates are built on removed API:
https://kubernetes.io/docs/reference/using-api/deprecation-guide/

@afr1ka afr1ka added this to the v0.8.0 milestone Jul 14, 2024
@afr1ka afr1ka modified the milestones: v0.8.0, v0.9.0 Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants