Closed le9i0nx closed 1 year ago
check zone in challengeRequest.ResolvedFQDN
Why delete a zone from ENV? It is passed to the request in such a way that it explicitly specifies where to create a record, since you can have multiple dnames. We will study the question about delegation.
if you delete the env zone, then you can renew the certificate for any domain to which you have access and not create a ClusterIssuer list for each domain
@le9i0nx you are welcome to review my PR https://github.com/flant/cert-manager-webhook-regru/pull/8 too.
I have accepted PR.
the zone can be calculated through requests to api https://www.reg.ru/reseller/api2doc#zone_nop you also need to consider dns delegation in _acme-challenge https://letsencrypt.org/docs/challenge-types/