All checks were successful
Run Check Script / check (push) Successful in 1m53s
- 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. Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/60 Co-authored-by: Jean-Gabriel Gill-Couture <jg@nationtech.io> Co-committed-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
21 lines
381 B
TOML
21 lines
381 B
TOML
[package]
|
|
name = "harmony_macros"
|
|
edition = "2024"
|
|
version.workspace = true
|
|
readme.workspace = true
|
|
license.workspace = true
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[dependencies]
|
|
harmony_types = { path = "../harmony_types" }
|
|
quote = "1.0.37"
|
|
serde = "1.0.217"
|
|
serde_yaml = "0.9.34"
|
|
syn = "2.0.90"
|
|
cidr.workspace = true
|
|
|
|
[dev-dependencies]
|
|
serde = { version = "1.0.217", features = ["derive"] }
|