kind: ConfigMap
apiVersion: v1
metadata:
  name: coredns-coredns
  namespace: kube-system
  labels:
    app.kubernetes.io/instance: coredns
    app.kubernetes.io/name: coredns
    k8s-app: coredns
    kubernetes.io/cluster-service: 'true'
    kubernetes.io/name: CoreDNS
data:
  Corefile: |-
    .:53 {
        errors
        log
        health {
            lameduck 5s
        }
        ready
        kubernetes cluster.local in-addr.arpa ip6.arpa {
            pods insecure
            fallthrough in-addr.arpa ip6.arpa
            ttl 30
        }
        prometheus 0.0.0.0:9153
        hosts /etc/hostsFromNode bosh {
          fallthrough
        }
        forward . /etc/resolv.conf {
            policy sequential
        }
        cache 30
        loop
        reload
        loadbalance
    }
    bosh.:53 {
        errors
        log
        hosts /etc/hostsFromNode
        loop
        reload
        loadbalance
    }
