Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions charts/finops-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/finops-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,8 @@ agent:
gpuLabelValue: ""
spotLabel: ""
spotLabelValue: ""
exportLegacyDataModels: true
exportKubeModel: true
Comment on lines +279 to +280

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is the best place to put these new configs, because all of .Values.agent.kubecost is currently used to populate this ConfigMap https://github.com/kubecost/finops-agent-chart/blob/main/charts/finops-agent/templates/kubecost-configmap.yaml


## @param command Override default container command (useful when using custom images)
##
Expand Down
Loading