Open davidmalott opened 3 years ago
appears to be the culprit, for openshift schemas, the logic to determine apiVersion for reference is ignored since you are returning before it is processed.
I have created a PR to fix this: https://github.com/instrumenta/kubeval/pull/314
I am seeing this error:
using flags --openshift --strict -v 3.11.0 on the following yaml construct:
furthermore, the status values are not required, yet --strict fails if they are not defined.
Using kubeval version :
Originally posted by @davidmalott in https://github.com/instrumenta/kubeval/issues/57#issuecomment-911972927