rancher-partner-charts/charts/kubecost/cost-analyzer/1.70.0/templates/cost-analyzer-alerts-config...

13 lines
348 B
YAML
Raw Normal View History

2021-06-24 01:54:43 +00:00
{{- if .Values.global.notifications.alertConfigs }}
{{- if .Values.global.notifications.alertConfigs.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: alert-configs
labels:
{{ include "cost-analyzer.commonLabels" . | nindent 4 }}
data:
alerts.json: '{{ toJson .Values.global.notifications.alertConfigs }}'
{{- end -}}
{{- end -}}