Replace deprecated plugin.Normalize() call with plugin.OriginsFromArgsOrServerBlock(), following the deprecation warning in the logs:
k8gb-coredns-f658bf78-lcv4d coredns [WARNING] An external plugin (/home/runner/work/coredns-crd-plugin/coredns-crd-plugin/setup.go line 84) is using the deprecated function Normalize.
This will be removed in a future versions of CoreDNS.
The plugin should be updated to use OriginsFromArgsOrServerBlock or NormalizeExact instead.
Replace deprecated
plugin.Normalize()
call withplugin.OriginsFromArgsOrServerBlock()
, following the deprecation warning in the logs:See https://github.com/coredns/coredns/pull/4648 for more information. Signed-off-by: Timofey Ilinykh timofey.ilinykh@absa.africa