cozystack/packages/system/virtualprivatecloud-rd
Andrei Kvapil 8e8bea039f
feat(vpc): migrate subnets definition from map to array format
Change VPC subnets from map[string]Subnet to []Subnet with explicit
name field, aligning with the vm-instance subnet format.

Map format:  subnets: {mysubnet: {cidr: "x"}}
Array format: subnets: [{name: mysubnet, cidr: "x"}]

Subnet ID generation (sha256 of namespace/vpcId/subnetName) remains
unchanged — subnetName now comes from .name field instead of map key.
ConfigMap output format stays the same.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2026-02-15 21:34:19 +01:00
..
cozyrds feat(vpc): migrate subnets definition from map to array format 2026-02-15 21:34:19 +01:00
templates refactor: split cozystack-resource-definitions into separate packages 2025-12-30 14:00:31 +01:00
Chart.yaml refactor: split cozystack-resource-definitions into separate packages 2025-12-30 14:00:31 +01:00
Makefile refactor: move scripts to hack directory 2026-01-15 16:06:56 +01:00
values.yaml refactor: split cozystack-resource-definitions into separate packages 2025-12-30 14:00:31 +01:00