diff --git a/charts/opencost/templates/deployment.yaml b/charts/opencost/templates/deployment.yaml index 378a7dd..efeacb8 100644 --- a/charts/opencost/templates/deployment.yaml +++ b/charts/opencost/templates/deployment.yaml @@ -295,6 +295,8 @@ spec: {{- else }} value: {{ .Values.opencost.retention1d | quote }} {{- end }} + - name: EXPORT_KUBEMODEL + value: {{ .Values.opencost.exporter.exportKubeModel | quote }} - name: RESOLUTION_1H_RETENTION value: {{ .Values.opencost.retention1h | quote }} - name: CLOUD_COST_ENABLED diff --git a/charts/opencost/values.yaml b/charts/opencost/values.yaml index fbe7c4d..49d7f1e 100644 --- a/charts/opencost/values.yaml +++ b/charts/opencost/values.yaml @@ -403,6 +403,9 @@ opencost: # -- The number of 1d intervals the Collector DataSource should maintain retention1d: 15 + # -- Enable/disable KubeModel export by setting the EXPORT_KUBEMODEL env var + exportKubeModel: true + # Persistent volume claim for storing the data. eg: csv file persistence: enabled: false