Skip to content

fix: CNS should not mark itself as ready if it can't write out a conflist. #18264

fix: CNS should not mark itself as ready if it can't write out a conflist.

fix: CNS should not mark itself as ready if it can't write out a conflist. #18264

Workflow file for this run

name: crdgen
on:
workflow_dispatch:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
merge_group:
types:
- checks_requested
jobs:
crdgen:
name: CRDs are Generated
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Regenerate NodeNetworkConfig CRD
run: make -C crd/nodenetworkconfig
- name: Regenerate MultitenantNetworkContainer CRD
run: make -C crd/multitenantnetworkcontainer
- name: Regenerate Multitenancy CRDs
run: make -C crd/multitenancy
- name: Regenerate ClusterSubnetState CRD
run: make -C crd/clustersubnetstate
- name: Regenerate OverlayExtensionConfig CRD
run: make -C crd/overlayextensionconfig
- name: Fail if the tree is dirty
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "Changes detected. Please run 'make regenerate-crd' locally to regenerate crds."
exit 1
fi