Files
cozystack/packages/system/observability-proxy/values.yaml
T
ZverGuy 5630de4ab1 feat(observability-proxy): grant tenant viewers the metrics root
The proxy authorizes the namespace metrics root with a
SubjectAccessReview for list on cozystack.io metrics, which no role
grants yet. Aggregating it into the tenant view role reaches every
tenant group and ancestor subject without a tenant chart change.

The Deployment passes the metrics store names and short-term
retention from values, so a platform that renames or resizes its
metricsStorages can keep the proxy's store choice in step.

Assisted-by: LLM
Signed-off-by: ZverGuy <maximbel2003@gmail.com>
2026-11-10 03:56:18 +07:00

24 lines
667 B
YAML

# Injected by the platform from the cozystack-values Secret. The empty
# default keeps the chart renderable on its own, outside a cluster.
_cluster: {}
observabilityProxy:
image: "ghcr.io/cozystack/cozystack/observability-proxy:v0.0.0"
replicas: 2
rootTenant: tenant-root
authCacheTTL: 10s
# Names and retention of the root tenant's metricsStorages
# (packages/system/monitoring/values.yaml). The retention is a Go
# duration: 3d is written 72h.
metrics:
shorttermStore: shortterm
longtermStore: longterm
shorttermRetention: 72h
resources:
requests:
cpu: 10m
memory: 64Mi
limits:
cpu: 500m
memory: 256Mi