Skip to content

Allow specifying ingress.tls.host if it is different from ingress.host#63

Open
vitaliyf wants to merge 4 commits intokafbat:mainfrom
vitaliyf:main
Open

Allow specifying ingress.tls.host if it is different from ingress.host#63
vitaliyf wants to merge 4 commits intokafbat:mainfrom
vitaliyf:main

Conversation

@vitaliyf
Copy link
Copy Markdown

@vitaliyf vitaliyf commented Feb 23, 2026

This is needed when using wildcard certificates, for example this set of values:

ingress:
  enabled: true
  host: kafbat-ui.example.com
  tls:
    enabled: true
    host: "*.example.com"
    secretName: tls-wildcard-example-com

will generate:

apiVersion: networking.k8s.io/v1
kind: Ingress
spec:
  tls:
    - hosts:
        - "*.example.com"
      secretName: tls-wilcard-example-com
  ...etc...

Summary by CodeRabbit

  • New Features
    • Added an optional TLS host setting for Kafka-UI Helm charts. You can specify a separate hostname for TLS certificates distinct from the ingress host; if left empty it falls back to the existing ingress host. This preserves previous behavior and applies only when TLS is enabled.

@vitaliyf vitaliyf requested a review from a team as a code owner February 23, 2026 02:41
@Haarolean
Copy link
Copy Markdown
Member

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 26, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 26, 2026

Warning

Rate limit exceeded

@Haarolean has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 58 minutes and 37 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 58 minutes and 37 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a387509c-47a7-4737-b51a-4690f8d550f3

📥 Commits

Reviewing files that changed from the base of the PR and between 564ef2f and 3bb1c17.

📒 Files selected for processing (2)
  • charts/kafka-ui/Chart.yaml
  • charts/kafka-ui/values.yaml
📝 Walkthrough

Walkthrough

Added a new Helm value ingress.tls.host for Kafka-UI (defaults to ingress.host when unset); the ingress template now uses this TLS host value and the change is documented in CONFIGURATION.md.

Changes

Cohort / File(s) Summary
Ingress TLS Host Configuration
charts/kafka-ui/CONFIGURATION.md, charts/kafka-ui/templates/ingress.yaml, charts/kafka-ui/values.yaml
Add ingress.tls.host: "" to values.yaml and document it. Update ingress template to render TLS hosts from .Values.ingress.tls.host with fallback to .Values.ingress.host, output wrapped in double quotes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐇 I hopped through charts and values neat,
A TLS host now takes its seat,
If blank, it softly falls in line,
Using ingress.host — all fine,
A little tweak, a quiet treat.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and specifically describes the main change: adding support for an optional ingress.tls.host parameter that allows specifying a TLS certificate hostname distinct from ingress.host.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

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 the current code and only fix it if needed.

Inline comments:
In `@charts/kafka-ui/values.yaml`:
- Around line 249-250: Fix the typo in the parameter description for
ingress.tls.host by replacing both occurrences of "ingess" and "ingess.host"
with "ingress" and "ingress.host" respectively in the values.yaml entry for
ingress.tls.host, then regenerate CONFIGURATION.md so the docs and the values
file stay aligned; target the comment text that mentions "ingess"/"ingess.host"
and update it to read "ingress"/"ingress.host".
🪄 Autofix (Beta)

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

Run ID: aef3f135-1646-438c-af7f-8265aca28a55

📥 Commits

Reviewing files that changed from the base of the PR and between 9883533 and 502ae4c.

📒 Files selected for processing (3)
  • charts/kafka-ui/CONFIGURATION.md
  • charts/kafka-ui/templates/ingress.yaml
  • charts/kafka-ui/values.yaml

Comment thread charts/kafka-ui/values.yaml Outdated
Copy link
Copy Markdown
Member

@Haarolean Haarolean left a comment

Choose a reason for hiding this comment

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

please address coderabbit comments

This is needed when using wildcard certificates, for example this set of values:

```
ingress:
  enabled: true
  host: kafbat-ui.example.com
  tls:
    enabled: true
    secretName: tls-wildcard-example-com
    host: "*.example.com"
```

will generate:

```yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
spec:
  tls:
    - hosts:
        - "*.example.com"
      secretName: tls-wilcard-example-com
```
@vitaliyf vitaliyf requested a review from Haarolean April 9, 2026 02:02
@Haarolean
Copy link
Copy Markdown
Member

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 9, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@Haarolean Haarolean enabled auto-merge (squash) April 14, 2026 07:20
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