Skip to content

fix: resolve cyclic dependency between network and route table#309

Merged
ionos-landgraf-vin merged 2 commits into
mainfrom
fix/network-route-table-cyclic-dependency
Jun 22, 2026
Merged

fix: resolve cyclic dependency between network and route table#309
ionos-landgraf-vin merged 2 commits into
mainfrom
fix/network-route-table-cyclic-dependency

Conversation

@ionos-landgraf-vin

Copy link
Copy Markdown
Contributor

Remove routeTableRef from NetworkSpec and NetworkStatus — a network cannot reference a route table that is itself scoped under that network.

Make routeTableRef required in SubnetSpec so each subnet explicitly declares its routing configuration rather than relying on an implicit network-level fallback that no longer exists.

Remove routeTableRef from NetworkSpec and NetworkStatus — a network
cannot reference a route table that is itself scoped under that network.

Make routeTableRef required in SubnetSpec so each subnet explicitly
declares its routing configuration rather than relying on an implicit
network-level fallback that no longer exists.
Comment thread spec/schemas/network.yaml
@@ -68,17 +67,9 @@ components:
x-oapi-codegen-extra-tags:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should add to the rt description, that the network related routes are "there by default", that is why the rt is part of the network

Comment thread spec/schemas/subnet.yaml
zone: "a"
routeTableRef:
resource: "route-tables/route-table-1"
skuRef:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should also be reflected in the usecase.md etc.

- Add note to NetworkSpec description that network-local routes are
  present by default in associated route tables
- Update usage.md: move routeTableRef from network to subnet example
- Fix rbac.yaml scopes example (minItems violation from PR #306)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ionos-landgraf-vin ionos-landgraf-vin merged commit 56527ed into main Jun 22, 2026
1 check passed
@ionos-landgraf-vin ionos-landgraf-vin deleted the fix/network-route-table-cyclic-dependency branch June 22, 2026 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants