apiVersion: v1
kind: ConfigMap
metadata:
  name: traefik-config
  namespace: loadbalancer
data:
  traefik.yml: |
    entryPoints:
      web:
        address: ":80"
      websecure:
        address: ":443"
      traefik:
        address: ":8080"
    providers:
      kubernetesCRD: true
    log: true
    accessLog: true
    metrics:
      prometheus: true
    api:
      dashboard: true
    ping:
      entryPoint: "traefik"
