mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-06 23:23:23 +09:00
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>
51 lines
1.5 KiB
YAML
51 lines
1.5 KiB
YAML
##
|
|
## @section Common parameters
|
|
##
|
|
|
|
## @typedef {struct} Subnet - Subnet of a VPC
|
|
## @field {string} name - Subnet name
|
|
## @maxLength 63
|
|
## @pattern ^[A-Za-z0-9]([-A-Za-z0-9_.]*[A-Za-z0-9])?$
|
|
## @field {string} [cidr] - IP address range
|
|
## @pattern ^[0-9A-Fa-f.:/,]*$
|
|
## @field {[]string} [allowSubnets] - Additional source CIDRs admitted into this private subnet, such as remote networks routed in through a gateway VM
|
|
|
|
## @param {[]Subnet} subnets - Subnets of a VPC
|
|
subnets: []
|
|
## Example:
|
|
## subnets:
|
|
## - name: mysubnet0
|
|
## cidr: "172.16.0.0/24"
|
|
## - name: mysubnet1
|
|
## cidr: "172.16.1.0/24"
|
|
## allowSubnets:
|
|
## - "192.168.1.0/24"
|
|
|
|
## @typedef {struct} Peer - VPC peering target
|
|
## @field {string} vpcName - Logical name of the remote VPC (without "virtualprivatecloud-" prefix)
|
|
## @maxLength 63
|
|
## @pattern ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
## @field {string} tenantNamespace - Namespace of the remote tenant
|
|
## @maxLength 63
|
|
## @pattern ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
|
|
|
|
## @param {[]Peer} peers - VPC peering connections (bidirectional declaration required)
|
|
peers: []
|
|
## Example:
|
|
## peers:
|
|
## - vpcName: "other-vpc"
|
|
## tenantNamespace: "tenant-other"
|
|
|
|
## @typedef {struct} Route - Static route entry
|
|
## @field {string} cidr - Destination CIDR
|
|
## @pattern ^[0-9A-Fa-f.:/,]*$
|
|
## @field {string} nextHopIP - Next hop IP address
|
|
## @pattern ^[0-9A-Fa-f.:]*$
|
|
|
|
## @param {[]Route} routes - Static routes for the VPC
|
|
routes: []
|
|
## Example:
|
|
## routes:
|
|
## - cidr: "172.16.1.0/24"
|
|
## nextHopIP: "10.0.0.1"
|