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

error when attempting to lint poddisruption budget #330

Open
renperez-cpi opened this issue Feb 8, 2022 · 1 comment
Open

error when attempting to lint poddisruption budget #330

renperez-cpi opened this issue Feb 8, 2022 · 1 comment

Comments

@renperez-cpi
Copy link

ERR - tmp/kubernetes.yml: Failed initializing schema https://kubernetesjsonschema.dev/master-standalone/poddisruptionbudget-policy-v1.json: Could not read schema from HTTP, response status is 404 Not Found
Error: Process completed with exit code 1.

@mpatters72
Copy link

mpatters72 commented Jul 27, 2022

  • Experienced this issue as well, kubeval expects deprecated apiVersion: policy/v1beta1 as opposed to current apiVersion: policy/v1.

  • If people use older version, they'll see this warning when they apply manifests with kubectl to newer cluster versions.

Warning: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget

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