[WARNING] plugin/file: Failed to open "open /etc/coredns/example.db: no such file or directory": trying again in 1m0s
This is because the configMap entry for the zone file is not created in the deployment.yml. It should be created by the template here but the template is looking for {{- if .Values.zoneFile }}.
This if block in the template should be replaced with the example in the CoreDNS helm template here.
Specifying
zoneFiles
fails and causes the error:This is because the
configMap
entry for the zone file is not created in thedeployment.yml
. It should be created by the template here but the template is looking for{{- if .Values.zoneFile }}
.This
if
block in the template should be replaced with the example in the CoreDNS helm template here.