mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
fix tenant labels (#468)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Updated the HelmRelease configuration for monitoring agents to simplify tenant label assignment by using the release namespace directly. - **Bug Fixes** - Adjusted the logging configuration for `fluent-bit` to ensure accurate categorization and processing of monitoring data. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -45,7 +45,7 @@ spec:
|
||||
vmagent:
|
||||
externalLabels:
|
||||
cluster: {{ .Release.Name }}
|
||||
tenant: {{ $targetTenant }}
|
||||
tenant: {{ .Release.Namespace }}
|
||||
remoteWrite:
|
||||
url: http://vminsert-shortterm.{{ $targetTenant }}.svc:8480/insert/0/prometheus
|
||||
|
||||
@@ -97,7 +97,7 @@ spec:
|
||||
[FILTER]
|
||||
Name modify
|
||||
Match *
|
||||
Add tenant {{ $targetTenant }}
|
||||
Add tenant {{ .Release.Namespace }}
|
||||
[FILTER]
|
||||
Name modify
|
||||
Match *
|
||||
|
||||
Reference in New Issue
Block a user