feat: Allow optional clusterIP and loadBalancerIP fields on the openwebui service template (#37)

feat: Allow optional clusterIP and loadBalancerIP fields on the openwebui service template
This commit is contained in:
Pranay Jain 2024-06-13 13:44:03 -07:00 committed by GitHub
parent 4ced350783
commit 2ddceb06e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 3 deletions

View File

@ -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/

View File

@ -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 👋

View File

@ -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 }}