rancher-partner-charts/charts/kubecost/cost-analyzer/templates/cost-analyzer-saved-reports...

13 lines
376 B
YAML
Raw Normal View History

2022-01-10 19:55:02 +00:00
{{- if .Values.global.savedReports }}
{{- if .Values.global.savedReports.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{default "saved-report-configs" .Values.savedReportConfigmapName }}
labels:
{{ include "cost-analyzer.commonLabels" . | nindent 4 }}
data:
saved-reports.json: '{{ toJson .Values.global.savedReports.reports }}'
{{- end -}}
{{- end -}}