Skip to content

Validation fails due to outdated schema (OCP version difference) #16

Description

@tumido

The thing we've been afraid of just happened.

Kubeval fails in operate-first/apps#2479 due to schema difference...

While master-standalone-strict/network-operator-v1.json doesn't list gatewayConfig as a valid property of .spec.defaultNetwork.ovnKubernetesConfig, this is totally acceptable in OCP 4.10:
image

How can we solve this? Track manifests per OCP version? Or order cluster artifacts in generate schemas job - so we store the latest schema versions rather than random one?

/cc @mimotej

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions