mode: 0644
path: "/etc/coredns/node-dns-db"
contents:
  inline: |
    $ORIGIN {{ .DNS.Spec.BaseDomain }}.
    @    3600 IN SOA host.{{ .DNS.Spec.BaseDomain }}. hostmaster (
                                    2017042752 ; serial
                                    7200       ; refresh (2 hours)
                                    3600       ; retry (1 hour)
                                    1209600    ; expire (2 weeks)
                                    3600       ; minimum (1 hour)
                                    )
    api-int IN A {{ onPremPlatformAPIServerInternalIP . }}
    api IN A {{ onPremPlatformAPIServerInternalIP . }}

    *.apps  IN  A {{ onPremPlatformIngressIP . }}
