projectcalico / calico

Cloud native networking and network security
https://docs.tigera.io/calico/latest/about/
Apache License 2.0
6.04k stars 1.35k forks source link

Check operator CRDs as part of ci preflight checks #9377

Closed caseydavenport closed 1 month ago

caseydavenport commented 1 month ago

Description

Fixes https://github.com/projectcalico/calico/issues/8883

This PR will fail CI if the operator CRDs are not in sync.

This is potentially annoying, as it means we may need to push some unrelated changes into PRs to get CI working. But I think it is worth the friction to avoid these getting out of sync.

We have encountered release problems in the past where we shipped operator CRDs that were out of date.

Related issues/PRs

Todos

Release Note

TBD

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

Every PR needs one release-note-* label.

Other optional labels: