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

15 lines
416 B
YAML

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