Skip to content

Commit

Permalink
feat: Allow optional clusterIP and loadBalancerIP fields on the openw…
Browse files Browse the repository at this point in the history
…ebui service template (#37)

feat: Allow optional clusterIP and loadBalancerIP fields on the openwebui service template
  • Loading branch information
pranay-jain-notable authored Jun 13, 2024
1 parent 4ced350 commit 2ddceb0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/open-webui/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: open-webui
version: 3.0.2
version: 3.0.3
appVersion: "v0.3.4"

home: https://www.openwebui.com/
Expand Down
2 changes: 1 addition & 1 deletion charts/open-webui/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# open-webui

![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![AppVersion: 0.2.2](https://img.shields.io/badge/AppVersion-0.2.2-informational?style=flat-square)
![Version: 3.0.3](https://img.shields.io/badge/Version-3.0.3-informational?style=flat-square) ![AppVersion: v0.3.4](https://img.shields.io/badge/AppVersion-v0.3.4-informational?style=flat-square)

Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋

Expand Down
8 changes: 7 additions & 1 deletion charts/open-webui/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,10 @@ spec:
{{- if .Values.service.loadBalancerClass }}
loadBalancerClass: {{ .Values.service.loadBalancerClass | quote }}
{{- end }}

{{- if and (eq .Values.service.type "ClusterIP") (.Values.service.clusterIP) }}
clusterIP: {{ .Values.service.clusterIP }}
{{- end }}
{{- if and (eq .Values.service.type "loadBalancer") (.Values.service.loadBalancerIP) }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}

0 comments on commit 2ddceb0

Please sign in to comment.