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

14 lines
351 B
YAML
Raw Normal View History

2021-08-26 12:34:20 +00:00
{{- 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 }}