Application values reach chart templates as strings, maps and lists, and several templates rendered them as-is. Values are now quoted or converted to their type where they are rendered, map keys used as names or config keys are checked against what their target accepts, hook Jobs read their data from environment variables, and values handed to upstream charts are passed in the form those charts expect. cozy-lib gains cozy-lib.yaml.toYaml and cozy-lib.yaml.fromYaml, which fail the render on a value they cannot encode or decode instead of returning an empty result. external-dns GoDaddy credentials move from args to a Secret. Values that were valid before keep rendering: NATS units, restic short keep flags, MongoDB database names by MongoDB's own rule, uppercase and IPv6 VPN hosts, bootbox hostnames that are subdomains, netmask whitelists, bracketed IPv6 registries for the Talos installer, time zones and intervals in the MongoDB backup schedule. Co-authored-by: Timofei Larkin <lllamnyp@gmail.com> Assisted-by: LLM Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
VPC
VPC offers a subset of dedicated subnets with networking services related to it. As the service evolves, it will provide more ways to isolate your workloads.
Service details
To function, the service requires kube-ovn and multus CNI to be present, so by default it will only work on paas-full bundle.
Kube-ovn provides VPC and Subnet resources and performs isolation and networking maintenance such as DHCP. Under the hood it uses ovn virtual routers and virtual switches.
Multus enables a multi-nic capability, so a pod or a VM could have two or more network interfaces.
Currently every workload will have a connection to a default management network which will also have a default gateway, and the majority of traffic will go through it. VPC subnets are for now an additional dedicated networking spaces.
Deployment notes
VPC name must be unique within a tenant. Subnet name and ip address range must be unique within a VPC. Subnet ip address space must not overlap with the default management network ip address range, subsets of 172.16.0.0/12 are recommended. Currently there are no fail-safe checks, however they are planned for the future.
Different VPCs may have subnets with overlapping ip address ranges.
A VM or a pod may be connected to multiple secondary Subnets at once. Each secondary connection will be represented as an additional network interface.
Parameters
Common parameters
| Name | Description | Type | Value |
|---|---|---|---|
subnets |
Subnets of a VPC | []object |
[] |
subnets[i].name |
Subnet name | string |
"" |
subnets[i].cidr |
IP address range | string |
"" |
subnets[i].allowSubnets |
Additional source CIDRs admitted into this private subnet, such as remote networks routed in through a gateway VM | []string |
[] |
peers |
VPC peering connections (bidirectional declaration required) | []object |
[] |
peers[i].vpcName |
Logical name of the remote VPC (without "virtualprivatecloud-" prefix) | string |
"" |
peers[i].tenantNamespace |
Namespace of the remote tenant | string |
"" |
routes |
Static routes for the VPC | []object |
[] |
routes[i].cidr |
Destination CIDR | string |
"" |
routes[i].nextHopIP |
Next hop IP address | string |
"" |
Examples
apiVersion: apps.cozystack.io/v1alpha1
kind: VirtualPrivateCloud
metadata:
name: vpc00
spec:
subnets:
- name: sub00
cidr: 172.16.0.0/24
- name: sub01
cidr: 172.16.1.0/24
- name: sub02
cidr: 172.16.2.0/24