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) ##