From 77d400af7f924b3e0de2e68c316e78370c774b04 Mon Sep 17 00:00:00 2001 From: Sean Holcomb Date: Tue, 23 Jun 2026 13:55:27 -0700 Subject: [PATCH] add exporter control env vars Signed-off-by: Sean Holcomb --- charts/finops-agent/templates/deployment.yaml | 4 ++++ charts/finops-agent/values.yaml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/charts/finops-agent/templates/deployment.yaml b/charts/finops-agent/templates/deployment.yaml index d4ca979..596cd08 100644 --- a/charts/finops-agent/templates/deployment.yaml +++ b/charts/finops-agent/templates/deployment.yaml @@ -309,6 +309,10 @@ spec: {{- else }} value: {{ include "finops-agent.kubecostEnabled" . | quote }} {{- end }} + - name: EXPORT_LEGACY_DATA_MODEL + value: {{ .Values.agent.kubecost.exportLegacyDataModels | quote }} + - name: EXPORT_KUBEMODEL + value: {{ .Values.agent.kubecost.exportKubeModel | quote }} {{- if .Values.extraEnvVars }} {{- include "common.tplvalues.render" (dict "value" .Values.extraEnvVars "context" .) | nindent 12 }} {{- end }} diff --git a/charts/finops-agent/values.yaml b/charts/finops-agent/values.yaml index 01a5586..767a096 100644 --- a/charts/finops-agent/values.yaml +++ b/charts/finops-agent/values.yaml @@ -276,6 +276,8 @@ agent: gpuLabelValue: "" spotLabel: "" spotLabelValue: "" + exportLegacyDataModels: true + exportKubeModel: true ## @param command Override default container command (useful when using custom images) ##