Files
cozystack/packages/extra/external-dns
Mattia Eleuteri d3804ebea9 feat(api): refuse an application scheduling class its tenant does not allow
The lineage webhook keeps a pod on the tenant class when the
application names a class the tenant does not allow, but it can only
log that, on a pod the user never looks at. Refusing the application
at admission puts the error where the field was set, with the list of
classes that would be accepted.

An update that keeps the class is not refused, so an application whose
class was removed from the list after admission stays editable; the
webhook already keeps its pods on the tenant class. Tenants are left
out, because their spec.schedulingClass is the child tenant's class,
which the tenant chart's inheritance governs.

Users read the field description in the dashboard form and the API
schema, so it names the tenant setting that decides which classes are
accepted, says that only setting another value is refused, and that a
pod gets its class when it is created, so running pods keep theirs. The
field sits in its own README section, since a reader looking for
placement would not look under the unrelated heading it was appended
to.

Assisted-by: LLM
Signed-off-by: Mattia Eleuteri <mattia@hidora.io>
2026-11-23 08:05:09 +01:00
..

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 and TLSRoute as sources 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":""}

Google

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

Scheduling parameters

Name Description Type Value
schedulingClass Name of a SchedulingClass CR (cluster-scoped, group cozystack.io) used in place of the tenant's for this application's pods. A pod gets its class when it is created, so running pods keep theirs until they are recreated. Must be the tenant's own class or one listed in the tenant's allowedSchedulingClasses. Setting any other value is refused, and the pods of an application whose class is not, or no longer, in that list get the tenant's class. Empty means inherit from the tenant. string ""