kubeval icon indicating copy to clipboard operation
kubeval copied to clipboard

error when attempting to lint poddisruption budget

Open renperez-cpi opened this issue 2 years ago • 1 comments

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.

renperez-cpi avatar Feb 08 '22 01:02 renperez-cpi

  • 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

mpatters72 avatar Jul 27 '22 16:07 mpatters72