rancher-partner-charts/charts/kubecost/cost-analyzer/1.70.000/templates/kubecost-cluster-manager-co...

14 lines
351 B
YAML

{{- if .Values.kubecostProductConfigs }}
{{- if .Values.kubecostProductConfigs.clusters }}
apiVersion: v1
kind: ConfigMap
metadata:
name: kubecost-clusters
labels:
{{- include "cost-analyzer.commonLabels" . | nindent 4 }}
data:
default-clusters.yaml: |
{{- toYaml .Values.kubecostProductConfigs.clusters | nindent 4 }}
{{- end }}
{{- end }}