Files
cozystack/packages/system/cozystack-controller/values.yaml
T
Aleksei Sviridkin fe4138a09e feat(cozystack-controller): run the GPU class controllers
The class status and the license copier run in cozystack-controller
behind --enable-gpu, which the chart passes from gpu.enabled. The
status controller is off without the flag, since it caches every
Node. The copier always runs: without the flag it deletes every
copy, so a token does not stay in tenant namespaces after GPU
features are switched off, and clears the free counts and conditions
the stopped status controller would otherwise leave stale.

License Secrets are watched on the metadata-only Secret cache the CA
projection already owns. The manager's own Secret cache is scoped by
label to wildcard replicas, and a watch on it would never see a
hoster's Secret. The envtest suite drives both controllers through
their watches, since a mis-scoped watch fails without an error.

No RBAC rule is added: the controller already reads every kind, holds
every verb on cozystack.io and the cluster-wide Secret write.

Assisted-by: LLM
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-11-28 07:18:16 +03:00

35 lines
1.8 KiB
YAML

cozystackController:
image: ghcr.io/cozystack/cozystack/cozystack-controller:v1.6.0@sha256:b01f6fe6e8fe6426b112fbda2b4abac946b4e45cd118137c9001c9e6ee784b3d
debug: false
disableTelemetry: false
# Base URL of a Prometheus-compatible query API to fetch SeaweedFS bucket
# size metrics from, for deployments where SeaweedFS and the monitoring
# stack that scrapes it run in a separate cluster. Empty keeps discovery
# via the namespace.cozystack.io/monitoring label.
seaweedfsMetricsEndpoint: ""
# Raising this gives the reconciliation loop a standby, not a second writer:
# the chart always passes --leader-elect, so exactly one manager holds the
# Lease and runs the reconcilers. With the default of 1 the extra Lease is
# the only difference from the previous hardcoded value.
replicas: 1
# Empty by default: no resources block is rendered, so requests and limits are
# opt-in. Idle usage (measured) is ~69Mi — keep a limit above that.
resources: {}
# EndpointAttachment rendering.
endpointAttachments:
# Declares that a service proxy answering to the cozy-proxy
# service-proxy-name is deployed, so attachments may render
# method: WholeIP|PortList Services. The platform sets it wherever it
# deploys cozy-proxy. Left false, such attachments render no Service
# and report DatapathContractUnavailable instead of attracting an
# address nothing would serve.
cozyProxyContractImplemented: false
# Allocate node ports on rendered LoadBalancer Services. Off unless the
# load balancer forwards through node ports (Hetzner RobotLB), matching
# the cozy-lib convention the charts follow.
allocateLoadBalancerNodePorts: false
# GPUClass status and vGPU license copies in tenant namespaces. While it is
# off, the controller deletes every license copy.
gpu:
enabled: false