2021-06-24 01:55:05 +00:00
|
|
|
{{- if .Values.networkCosts -}}
|
|
|
|
{{- if .Values.networkCosts.enabled -}}
|
|
|
|
{{- if .Values.networkCosts.config -}}
|
|
|
|
apiVersion: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
metadata:
|
|
|
|
name: network-costs-config
|
2023-02-07 20:34:08 +00:00
|
|
|
namespace: {{ .Release.Namespace }}
|
2021-06-24 01:55:05 +00:00
|
|
|
labels:
|
|
|
|
{{ include "cost-analyzer.commonLabels" . | nindent 4 }}
|
|
|
|
data:
|
|
|
|
config.yaml: |
|
|
|
|
{{- toYaml .Values.networkCosts.config | nindent 4 }}
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|