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

15 lines
416 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 }}
namespace: {{ .Release.Namespace }}
2022-01-10 19:55:02 +00:00
labels:
{{ include "cost-analyzer.commonLabels" . | nindent 4 }}
data:
asset-reports.json: '{{ toJson .Values.global.assetReports.reports }}'
{{- end -}}
{{- end -}}