feat: add support for custom CIDR ingress/egress rules #60

Merged
johnride merged 3 commits from feat/additionalCidrNetworkPolicy into master 2025-06-12 15:24:09 +00:00
Owner
  • Added additional_allowed_cidr_ingress and additional_allowed_cidr_egress fields to TenantNetworkPolicy to allow specifying custom CIDR blocks for network access.
  • Updated K8sTenantManager to parse and apply these CIDR rules to NetworkPolicy ingress and egress rules.
  • Added cidr dependency to harmony_macros and a custom proc macro cidrv4 to easily parse CIDR strings.
  • Updated TenantConfig to default inter tenant and internet egress to deny all and added default empty vectors for CIDR ingress and egress.
  • Updated ResourceLimits to implement default.
- Added `additional_allowed_cidr_ingress` and `additional_allowed_cidr_egress` fields to `TenantNetworkPolicy` to allow specifying custom CIDR blocks for network access. - Updated K8sTenantManager to parse and apply these CIDR rules to NetworkPolicy ingress and egress rules. - Added `cidr` dependency to `harmony_macros` and a custom proc macro `cidrv4` to easily parse CIDR strings. - Updated TenantConfig to default inter tenant and internet egress to deny all and added default empty vectors for CIDR ingress and egress. - Updated ResourceLimits to implement default.
johnride added 1 commit 2025-06-11 19:19:11 +00:00
feat: add support for custom CIDR ingress/egress rules
All checks were successful
Run Check Script / check (push) Successful in 1m47s
Run Check Script / check (pull_request) Successful in 1m48s
acfcc77040
- Added `additional_allowed_cidr_ingress` and `additional_allowed_cidr_egress` fields to `TenantNetworkPolicy` to allow specifying custom CIDR blocks for network access.
- Updated K8sTenantManager to parse and apply these CIDR rules to NetworkPolicy ingress and egress rules.
- Added `cidr` dependency to `harmony_macros` and a custom proc macro `cidrv4` to easily parse CIDR strings.
- Updated TenantConfig to default inter tenant and internet egress to deny all and added default empty vectors for CIDR ingress and egress.
- Updated ResourceLimits to implement default.
johnride added 1 commit 2025-06-11 21:14:09 +00:00
johnride force-pushed feat/additionalCidrNetworkPolicy from 50a5cd463a to 5ba3e1f2d2 2025-06-11 21:15:14 +00:00 Compare
johnride merged commit b94dd1e595 into master 2025-06-12 15:24:09 +00:00
johnride deleted branch feat/additionalCidrNetworkPolicy 2025-06-12 15:24:10 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: NationTech/harmony#60
No description provided.