16 lines
402 B
YAML
16 lines
402 B
YAML
|
{{- if .Values.networkCosts -}}
|
||
|
{{- if .Values.networkCosts.enabled -}}
|
||
|
{{- if .Values.networkCosts.config -}}
|
||
|
apiVersion: v1
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
name: network-costs-config
|
||
|
namespace: {{ .Release.Namespace }}
|
||
|
labels:
|
||
|
{{ include "cost-analyzer.commonLabels" . | nindent 4 }}
|
||
|
data:
|
||
|
config.yaml: |
|
||
|
{{- toYaml .Values.networkCosts.config | nindent 4 }}
|
||
|
{{- end -}}
|
||
|
{{- end -}}
|
||
|
{{- end -}}
|