mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-05 11:37:31 +09:00
Rewrite resourcesPreset values in every apps/* and extras/* chart from the legacy flat names to the new instance-type form, using the 1:1 mapping: nano -> t1.nano micro -> t1.micro small -> t1.small medium -> c1.small large -> c1.medium xlarge -> c1.large 2xlarge -> c1.xlarge Each affected values.yaml carries the canonical 47-value enum (40 instance-type names plus 7 legacy aliases) so the schema accepts both forms during the deprecation window. cozyvalues-gen regenerates the matching api/apps/v1alpha1/*/types.go kubebuilder enum and defaults, the chart values.schema.json, the README parameter table, and the ApplicationDefinition openAPISchema in packages/system/*-rd/cozyrds. Three hardcoded legacy literals in chart templates migrated: - packages/apps/harbor/templates/harbor.yaml:121 (portal) - packages/apps/opensearch/templates/opensearch.yaml:43 (dashboards) - packages/system/keycloak/templates/sts.yaml:115 (heap fallback) packages/apps/foundationdb/Makefile gains the missing hack/update-crd.sh call. Without it, every regen left foundationdb-rd cozyrds stale and new FoundationDB app CRs through cozystack-api were rejected at validation for any non-legacy resourcesPreset value. Every default-rendered chart produces identical CPU and memory to the value applied before the rename, courtesy of the legacy alias table in cozy-lib and the 1:1 default mapping. Co-authored-by: Matthieu ROBIN <matthieu@hidora.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>
External DNS
Parameters
Common parameters
| Name | Description | Type | Value |
|---|---|---|---|
provider |
DNS provider name. | string |
{} |
domainFilters |
List of domains this external-dns instance can manage. | []string |
[] |
policy |
How DNS records are synchronized. | string |
upsert-only |
extraArgs |
Extra arguments for external-dns. | []string |
[] |
gatewayAPI |
Enable Gateway API HTTPRoute as a source for DNS records. | bool |
false |
annotationPrefix |
Custom annotation prefix for external-dns (useful for running multiple instances). | string |
"" |
Cloudflare
| Name | Description | Type | Value |
|---|---|---|---|
cloudflare |
Cloudflare provider credentials. | object |
{"apiEmail":"","apiKey":"","apiToken":"","proxied":false} |
AWS
| Name | Description | Type | Value |
|---|---|---|---|
aws |
AWS Route53 provider credentials. | object |
{"accessKeyId":"","region":"","secretAccessKey":"","zoneType":""} |
Azure
| Name | Description | Type | Value |
|---|---|---|---|
azure |
Azure DNS provider credentials. | object |
{"aadClientId":"","aadClientSecret":"","resourceGroup":"","subscriptionId":"","tenantId":""} |
| Name | Description | Type | Value |
|---|---|---|---|
google |
Google Cloud DNS provider credentials. | object |
{"project":"","serviceAccountKey":""} |
DigitalOcean
| Name | Description | Type | Value |
|---|---|---|---|
digitalocean |
DigitalOcean DNS provider credentials. | object |
{"token":""} |
Linode
| Name | Description | Type | Value |
|---|---|---|---|
linode |
Linode DNS provider credentials. | object |
{"token":""} |
OVH
| Name | Description | Type | Value |
|---|---|---|---|
ovh |
OVH DNS provider credentials. | object |
{"applicationKey":"","applicationSecret":"","consumerKey":"","endpoint":""} |
Exoscale
| Name | Description | Type | Value |
|---|---|---|---|
exoscale |
Exoscale DNS provider credentials. | object |
{"apiKey":"","apiSecret":""} |
GoDaddy
| Name | Description | Type | Value |
|---|---|---|---|
godaddy |
GoDaddy DNS provider credentials. | object |
{"apiKey":"","apiSecret":""} |
Resources
| Name | Description | Type | Value |
|---|---|---|---|
resources |
Explicit CPU and memory configuration. When omitted, the preset defined in resourcesPreset is applied. |
object |
{} |
resources.cpu |
CPU available to each replica. | quantity |
"" |
resources.memory |
Memory (RAM) available to each replica. | quantity |
"" |
resourcesPreset |
Default sizing preset used when resources is omitted. |
string |
t1.nano |