Fix translation from kube-dns to CoreDNS Config to skip invalid values #75969
What type of PR is this?
What this PR does / why we need it:
As a result, a user having service name in stubdomains/nameserver in their kube-dns ConfigMap while migrating to CoreDNS will result in an invalid CoreDNS Config, resulting in a broken k8s cluster.
The translation will now detect a service name and omit it while translating to the equivalent CoreDNS Config and additionally warn the user that it has been omitted during translation since it's not supported.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Apr 1, 2019
[APPROVALNOTIFIER] This PR is APPROVED
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing