You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attaching a zip file that contains the CRD schema, the Custom Resource, and the failure message.
The OpenTelemetryCollector schema for v1beta1 has a property at spec.managementState that has a default value of "managed". If the property is not defined in the manifest file, then it fails the schema validation. So, the current behavior is to fail for missing the property instead of expecting the resource to use the default property and value. It seems that kubeconform is looking for default properties to be explicitly defined in the manifest file. This does not seem to be correct behavior.
managementState.zip
I'm attaching a zip file that contains the CRD schema, the Custom Resource, and the failure message.
The OpenTelemetryCollector schema for
v1beta1
has a property atspec.managementState
that has a default value of "managed". If the property is not defined in the manifest file, then it fails the schema validation. So, the current behavior is to fail for missing the property instead of expecting the resource to use the default property and value. It seems that kubeconform is looking for default properties to be explicitly defined in the manifest file. This does not seem to be correct behavior.The text was updated successfully, but these errors were encountered: