We can omit zone env variable for cert-manager-webhook-regru and resolve domain for API request to the REG.RU from challengeRequest.ResolvedZone. ResolvedZone indicates the zone that the provided FQDN is encompassed within, determined by performing SOA record queries for each part of the FQDN until an authoritative zone is found.
This changes allow you to use one instance of the cert-manager-webhook-regru for many domains.
This one should resolve issue #5
We can omit
zone
env variable for cert-manager-webhook-regru and resolve domain for API request to the REG.RU fromchallengeRequest.ResolvedZone
.ResolvedZone
indicates the zone that the provided FQDN is encompassed within, determined by performing SOA record queries for each part of the FQDN until an authoritative zone is found.This changes allow you to use one instance of the cert-manager-webhook-regru for many domains.