ori-edge / k8s_gateway

A CoreDNS plugin to resolve all types of external Kubernetes resources
Apache License 2.0
295 stars 63 forks source link

`zoneFiles` not working #171

Closed rgstephens closed 1 year ago

rgstephens commented 1 year ago

Specifying zoneFiles fails and causes the error:

[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.

networkop commented 1 year ago

fixed in #172