rancher-partner-charts/charts/kubecost/cost-analyzer/2.0.2/templates/cost-analyzer-advanced-repo...

14 lines
432 B
YAML

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