ValidationError(PodDisruptionBudget.spec)

504 Views Asked by At

while helm upgrading the prometheus, I am receiving the below error.

Error: UPGRADE FAILED: error validating "": error validating data: ValidationError(PodDisruptionBudget.spec): unknown field "enabled" in io.k8s.api.policy.v1.PodDisruptionBudgetSpec

can someone pls help with the solution.... thanks in advance

1

There are 1 best solutions below

1
Constantin Paigin On

Most likely caused by charts versions mismatch.

helm -n $NS upgrade --install prometheus prometheus-community/prometheus -f /PATH/TO/values.yaml --version $YOUR_VERSION