apiVersion: v1
kind: ConfigMap
metadata:
  name: elastalert-config
data:
  elastalert_config.yaml: |
    rules_folder: /opt/rules
    run_every:
      minutes: 1
    buffer_time:
      minutes: 15
    es_host: elasticsearch
    es_port: 9200
    writeback_index: elastalert_status
    alert_time_limit:
      days: 1
    # SMTP config. Not used anymore
    smtp_host: smtp-mail.outlook.com
    smtp_port: 587
    smtp_auth_file: /opt/config/smtp_auth.yaml
    from_addr: sender_email_address
