stdin - CustomResourceDefinition policyendpoints.networking.k8s.aws is invalid: problem validating schema. Check JSON formatting: jsonschema: '/metadata/creationTimestamp' does not validate with https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/master/customresourcedefinition.json#/properties/metadata/$ref/properties/creationTimestamp/$ref/type: expected string, but got null
What happened:
After rendering resources via aws-vpc-cni helm chart kubeconform checks it against the
CustomResourceDefinition
schema and fails withIt refers to this line:
Can this attribute be safely deleted? If not, what is the purpose of setting
creationTimestamp: null
?What you expected to happen:
The CRD should pass kubeconform.
How to reproduce it (as minimally and precisely as possible):
Output: