Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for using delegated domains for DNS-01 #106

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

Hsn723
Copy link
Member

@Hsn723 Hsn723 commented Jul 9, 2024

It is not desirable for cert-manager to be able to write to the root DNS zone for the sole purpose of DNS-01 validation. As such, in some environments cert-manager is expected to write to a dedicated sub-zone that exists only for DNS-01.

This PR allows contour-plus to accomodate such environments, by writing the CNAME delegation record pointing to the delegated domain when a delegated domain is specified by the contour-plus administrators via command-line flags, or by tenants via a newly defined contour-plus.cybozu.com/delegated-domain annotation when permitted to do so. This way, an Issuer or ClusterIssuer that has cnameStrategy: Follow enabled can perform DCV without writing to the root DNS zone.

docs/usage.md Outdated Show resolved Hide resolved
Copy link
Contributor

@tkna tkna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tkna tkna merged commit 662b415 into cybozu-go:main Jul 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants