What this PR does / why we need it:
The DNSProvider specifies included and excluded domain with the spec.domains.include and spec.domains.exclude fields.
It is expected, that these are the plain domain names and subsume any subdomains implicitly.
Sometimes users try to define a domain using wildcards, e.g. *.example.com instead of example.com, which is accepted, but does not work.
With this PR, the include and exclude domains are validated for such forbidden wildcard domains and report a user friendly error.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:
Validate provider domain includes and excludes for forbidden wildcard domains.
What this PR does / why we need it: The
DNSProvider
specifies included and excluded domain with thespec.domains.include
andspec.domains.exclude
fields. It is expected, that these are the plain domain names and subsume any subdomains implicitly. Sometimes users try to define a domain using wildcards, e.g.*.example.com
instead ofexample.com
, which is accepted, but does not work. With this PR, the include and exclude domains are validated for such forbidden wildcard domains and report a user friendly error.Which issue(s) this PR fixes: Fixes #
Special notes for your reviewer:
Release note: