-
Notifications
You must be signed in to change notification settings - Fork 227
Closed
Labels
Description
Hi, I have a (correct) horizontal pod autoscaler definition, running on Kubernetes 1.7.11
When I launch kubeval with the -strict, even with -v 1.7.11, I get
core-api.yaml contains an invalid HorizontalPodAutoscaler
---> targetCPUUtilizationPercentage: Additional property targetCPUUtilizationPercentage is not allowed
But the property is correct. By removing the -strict the file is considered correct.
I need the -strict because I must be able to understand if some yaml contains values rejected by kubectl (e.g. adding a real not supported property)
Any ideas on why it tells me it is wrong? This is preventing us from adding this very useful script to our CI/CD release pipeline.
Reactions are currently unavailable