From b8659270e6f66f6649934797be243ded9f8d5fe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=9B=E4=BD=B3=E5=B8=86?= <452531855@qq.com> Date: Tue, 29 Sep 2026 09:06:59 +0800 Subject: [PATCH] =?UTF-8?q?feat(agent-unit):=20=E7=89=B9=E5=BE=81=E5=80=BC?= =?UTF-8?q?=E9=A2=84=E8=AD=A6=20Redis=20=E8=BF=91=E7=AB=AF=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E5=BC=80=E5=85=B3=20env(FeatureValueWarningCache=5F?= =?UTF-8?q?=5F*,AgentUnit=20=E9=BB=98=E8=AE=A4=E5=8F=96=E5=8D=95=E5=85=83?= =?UTF-8?q?=E5=90=8D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- release-charts/mixingx-agent-unit/templates/_helpers.tpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/release-charts/mixingx-agent-unit/templates/_helpers.tpl b/release-charts/mixingx-agent-unit/templates/_helpers.tpl index 466cb79..862ff0f 100644 --- a/release-charts/mixingx-agent-unit/templates/_helpers.tpl +++ b/release-charts/mixingx-agent-unit/templates/_helpers.tpl @@ -74,6 +74,12 @@ AuditMqttPublisher__BrokerUrl: "{{ .Values.audit.publisher.brokerUrl }}" AuditMqttPublisher__Service: "{{ .Values.audit.publisher.service | default "agent" }}" AuditMqttPublisher__InstanceId: "{{ .Values.audit.publisher.instanceId | default $name }}" {{- end }} +{{- if .Values.featureValueWarningCache.enabled }} +FeatureValueWarningCache__Enabled: "true" +FeatureValueWarningCache__Window: "{{ .Values.featureValueWarningCache.window | default 90 }}" +FeatureValueWarningCache__ReadSize: "{{ .Values.featureValueWarningCache.readSize | default 30 }}" +FeatureValueWarningCache__AgentUnit: "{{ .Values.featureValueWarningCache.agentUnit | default $name }}" +{{- end }} OTEL_EXPORTER_OTLP_ENDPOINT: "{{ .Values.sharedInfra.otlp.endpoint }}" OTEL_EXPORTER_OTLP_PROTOCOL: "{{ .Values.sharedInfra.otlp.protocol }}" OTEL_SERVICE_NAME: "{{ $name }}"