# enabling istioctl serviceentries to create dns entries
#
# resolves *.sunbird to istiocoredns
#
# TODO: is there any way to change the ip to domain
# of istiodns
---
apiVersion: v1
kind: ConfigMap
metadata:
  labels:
    addonmanager.kubernetes.io/mode: EnsureExists
    k8s-app: kube-dns
    kubernetes.io/cluster-service: "true"
  name: coredns-custom
  namespace: kube-system
data:
  Sunbird.server: |-
    global:53 {
       errors
       cache 30
       forward . 172.16.242.123
    }
