13 lines
394 B
YAML
13 lines
394 B
YAML
|
{{- if .Values.global.advancedReports }}
|
||
|
{{- if .Values.global.advancedReports.enabled }}
|
||
|
apiVersion: v1
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
name: {{default "advanced-report-configs" .Values.advancedReportConfigmapName }}
|
||
|
labels:
|
||
|
{{ include "cost-analyzer.commonLabels" . | nindent 4 }}
|
||
|
data:
|
||
|
advanced-reports.json: '{{ toJson .Values.global.advancedReports.reports }}'
|
||
|
{{- end -}}
|
||
|
{{- end -}}
|