feat(chart): add prometheus-url flag to cozystack-controller deployment
Pass --prometheus-url to the controller container when configured in values. This enables querying SeaweedFS bucket size metrics from a Prometheus-compatible API for S3 bucket billing. RBAC already covers BucketClaim access via existing wildcard rule (apiGroups: ['*'], resources: ['*'], verbs: ["get", "list", "watch"]). Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: ZverGuy <maximbel2003@gmail.com>
This commit is contained in:
parent
0aab19f500
commit
ddbc5f6f83
2 changed files with 4 additions and 0 deletions
|
|
@ -27,3 +27,6 @@ spec:
|
|||
{{- if .Values.cozystackController.disableTelemetry }}
|
||||
- --disable-telemetry
|
||||
{{- end }}
|
||||
{{- if .Values.cozystackController.prometheusUrl }}
|
||||
- --prometheus-url={{ .Values.cozystackController.prometheusUrl }}
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -2,3 +2,4 @@ cozystackController:
|
|||
image: ghcr.io/cozystack/cozystack/cozystack-controller:v1.3.0-rc.1@sha256:5ab50893e9d0237d26f366c9d647da6337ca9b97bae764430571d4fb080f6200
|
||||
debug: false
|
||||
disableTelemetry: false
|
||||
prometheusUrl: ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue