[PR #106] [MERGED] feat: allow additionalHosts for ingress #183

Closed
opened 2026-02-15 19:16:45 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/helm-charts/pull/106
Author: @zadjadr
Created: 11/20/2024
Status: Merged
Merged: 11/24/2024
Merged by: @westbrook-ai

Base: mainHead: zadjadr/ingress


📝 Commits (1)

  • 5cf03b4 feat: allow additionalHosts for ingress

📊 Changes

2 files changed (+16 additions, -0 deletions)

View changed files

📝 charts/open-webui/templates/ingress.yaml (+15 -0)
📝 charts/open-webui/values.yaml (+1 -0)

📄 Description

This allows others to provide multiple ingress hosts. That's nice for CNAMEs and similar approaches.

This change is not a breaking change and not setting the additionalHosts field will have no effect.

Here is an example output:

ingress:
  enabled: true
  class: ""
  # -- Use appropriate annotations for your Ingress controller, e.g., for NGINX:
  # nginx.ingress.kubernetes.io/rewrite-target: /
  annotations: {}
  host: "chat.k8s.example.com"
  additionalHosts:
    - "gpt.example.com"
    - "chat.example.com"
  tls: true
  existingSecret: ""
# Source: open-webui/templates/ingress.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: open-webui
  labels:
    helm.sh/chart: open-webui-4.0.0
    app.kubernetes.io/version: "0.4.0"
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/instance: test
    app.kubernetes.io/component: open-webui
spec:
  tls:
    - hosts:
      - "chat.k8s.example.com"
      - "gpt.example.com"
      - "chat.example.com"
      secretName: test-tls
  rules:
  - host: chat.k8s.example.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: open-webui
            port:
              name: http
  - host: "gpt.example.com"
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: open-webui
            port:
              name: http
  - host: "chat.example.com"
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: open-webui
            port:
              name: http

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/helm-charts/pull/106 **Author:** [@zadjadr](https://github.com/zadjadr) **Created:** 11/20/2024 **Status:** ✅ Merged **Merged:** 11/24/2024 **Merged by:** [@westbrook-ai](https://github.com/westbrook-ai) **Base:** `main` ← **Head:** `zadjadr/ingress` --- ### 📝 Commits (1) - [`5cf03b4`](https://github.com/open-webui/helm-charts/commit/5cf03b48a0e04eee7c943b4bb90ddab6026d02b1) feat: allow additionalHosts for ingress ### 📊 Changes **2 files changed** (+16 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `charts/open-webui/templates/ingress.yaml` (+15 -0) 📝 `charts/open-webui/values.yaml` (+1 -0) </details> ### 📄 Description This allows others to provide multiple ingress hosts. That's nice for CNAMEs and similar approaches. This change is not a breaking change and not setting the `additionalHosts` field will have no effect. Here is an example output: ```yaml ingress: enabled: true class: "" # -- Use appropriate annotations for your Ingress controller, e.g., for NGINX: # nginx.ingress.kubernetes.io/rewrite-target: / annotations: {} host: "chat.k8s.example.com" additionalHosts: - "gpt.example.com" - "chat.example.com" tls: true existingSecret: "" ``` ```yaml # Source: open-webui/templates/ingress.yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: open-webui labels: helm.sh/chart: open-webui-4.0.0 app.kubernetes.io/version: "0.4.0" app.kubernetes.io/managed-by: Helm app.kubernetes.io/instance: test app.kubernetes.io/component: open-webui spec: tls: - hosts: - "chat.k8s.example.com" - "gpt.example.com" - "chat.example.com" secretName: test-tls rules: - host: chat.k8s.example.com http: paths: - path: / pathType: Prefix backend: service: name: open-webui port: name: http - host: "gpt.example.com" http: paths: - path: / pathType: Prefix backend: service: name: open-webui port: name: http - host: "chat.example.com" http: paths: - path: / pathType: Prefix backend: service: name: open-webui port: name: http ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:16:45 -05:00
yindo closed this issue 2026-02-15 19:16:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/helm-charts#183