Skip to content

Commit

Permalink
var for DB_TRIM_MEMORY_ON_CLOSE (#3523)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegoodier authored Jun 30, 2024
1 parent 5b09ba2 commit 77b8e01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cost-analyzer/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -1123,6 +1123,8 @@ Begin Kubecost 2.0 templates
{{- end }}
- name: ETL_DAILY_STORE_DURATION_DAYS
value: {{ .Values.kubecostAggregator.etlDailyStoreDurationDays | quote }}
- name: DB_TRIM_MEMORY_ON_CLOSE
value: {{ .Values.kubecostAggregator.dbTrimMemoryOnClose | quote }}
- name: KUBECOST_NAMESPACE
value: {{ .Release.Namespace }}
{{- if .Values.oidc.enabled }}
Expand Down
2 changes: 2 additions & 0 deletions cost-analyzer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2560,6 +2560,8 @@ kubecostAggregator:
#
# default: 91
etlDailyStoreDurationDays: 91
# Trim memory on close, only change if advised by Kubecost support.
dbTrimMemoryOnClose: true

persistentConfigsStorage:
storageClass: "" # default storage class
Expand Down

0 comments on commit 77b8e01

Please sign in to comment.