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

14 lines
378 B
YAML

{{- if .Values.global.assetReports }}
{{- if .Values.global.assetReports.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ default "asset-report-configs" .Values.assetReportConfigmapName }}
labels:
{{ include "cost-analyzer.commonLabels" . | nindent 4 }}
data:
asset-reports.json: '{{ toJson .Values.global.assetReports.reports }}'
{{- end -}}
{{- end -}}