Skip to content

docs: document applyInternalDNSNames for custom-issuer TLS (DOC-182) - #1889

Open
JakeSCahill wants to merge 2 commits into
mainfrom
DOC-182-apply-internal-dns
Open

docs: document applyInternalDNSNames for custom-issuer TLS (DOC-182)#1889
JakeSCahill wants to merge 2 commits into
mainfrom
DOC-182-apply-internal-dns

Conversation

@JakeSCahill

@JakeSCahill JakeSCahill commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Resolves DOC-182 (May 2024): the Helm chart option that injects the brokers' internal DNS names into user-provided Issuer Certificates (helm-charts#1156, now tls.certs.<cert>.applyInternalDNSNames) was never documented in the TLS guide - it appears only in the generated CRD reference.

Adds an explanation to the Use a public CA certificate section of k-cert-manager.adoc: with a custom issuerRef, internal Service addresses are omitted from the Certificate (public CAs cannot issue for cluster-local names), and private-CA users can set applyInternalDNSNames: true to restore them so in-cluster clients validate internal listeners with the same Certificate.

Verified against chart source: charts/redpanda/certs.go appends the internal Service DNS names when issuerRef is nil or applyInternalDNSNames is true, and the field lives on the per-certificate TLSCert struct in values.go. The Netlify preview validates the page.

🤖 Generated with Claude Code

When users bring their own cert-manager Issuer, the chart omits the
brokers' internal Service addresses from the Certificate, and the
applyInternalDNSNames setting that restores them was documented only in
the generated CRD reference. Explain the behavior and the setting in
the cert-manager TLS guide, verified against charts/redpanda/certs.go.
@JakeSCahill
JakeSCahill requested a review from a team as a code owner August 6, 2026 16:34
@netlify

netlify Bot commented Aug 6, 2026

Copy link
Copy Markdown

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit 17eae09
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/6a778b397b17ae00089505dd
😎 Deploy Preview https://deploy-preview-1889--redpanda-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 1f35a303-0dbb-434a-90db-4f4a3caefd18

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The documentation explains that custom Issuers exclude internal Kubernetes Service DNS names from Certificates by default. It documents applyInternalDNSNames: true for private CAs that can issue certificates for internal names. It also adds a corresponding Helm configuration example.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: feediver1

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the documentation change for applyInternalDNSNames and includes the relevant Jira ticket.
Description check ✅ Passed The description explains the change, links the Jira ticket, documents verification, and confirms the preview; some template fields are omitted.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch DOC-182-apply-internal-dns

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@modules/manage/pages/kubernetes/security/tls/k-cert-manager.adoc`:
- Around line 311-319: Update the private-CA TLS example by changing caEnabled
to true so the chart provisions ca.crt in listener trust stores and the
documented in-cluster validation flow works.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c37333f9-2571-4df1-8e9f-4a860ce8658b

📥 Commits

Reviewing files that changed from the base of the PR and between 1c8a690 and 492ec1a.

📒 Files selected for processing (1)
  • modules/manage/pages/kubernetes/security/tls/k-cert-manager.adoc

Comment thread modules/manage/pages/kubernetes/security/tls/k-cert-manager.adoc Outdated
Review finding: the applyInternalDNSNames example describes a private CA
Issuer but kept caEnabled: false, copied from the public-CA example above
it. With caEnabled: false the chart points listener trust stores at the
container's CA certificates and chart-managed clients at tls.crt, so
in-cluster validation against a private CA fails.

Set caEnabled: true in that example and add a sentence explaining why.
The public-CA examples keep caEnabled: false, which is correct for
publicly trusted issuers such as Let's Encrypt.
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.

1 participant