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

14 lines
378 B
YAML
Raw Normal View History

2022-01-10 19:55:02 +00:00
{{- 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 -}}