Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
3c4cc602
"src/sdk/vscode:/vscode.git/clone" did not exist on "f1b8cd2cf627edefeeb0f316a6b9e47236557530"
Commit
3c4cc602
authored
Mar 08, 2024
by
Zhecho Zhechev
Browse files
feat(helm): adding lb class and labels for using it with Cilium CNI l2 annoncements mode
parent
eb51ad14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
kubernetes/helm/templates/webui-service.yaml
kubernetes/helm/templates/webui-service.yaml
+11
-6
kubernetes/helm/values.yaml
kubernetes/helm/values.yaml
+2
-0
No files found.
kubernetes/helm/templates/webui-service.yaml
View file @
3c4cc602
...
...
@@ -4,6 +4,9 @@ metadata:
name
:
{{
include "open-webui.name" .
}}
labels
:
{{
- include "open-webui.labels" . | nindent 4
}}
{{
- with .Values.webui.service.labels
}}
{{
- toYaml . | nindent 4
}}
{{
- end
}}
{{
- with .Values.webui.service.annotations
}}
annotations
:
{{
- toYaml . | nindent 4
}}
...
...
@@ -11,14 +14,16 @@ metadata:
spec
:
selector
:
{{
- include "open-webui.selectorLabels" . | nindent 4
}}
{{
- with .Values.webui.service
}}
type
:
{{
.type
}}
type
:
{{
.Values.webui.service.type | default "ClusterIP"
}}
ports
:
-
protocol
:
TCP
name
:
http
port
:
{{
.port
}}
port
:
{{
.Values.webui.service
.port
}}
targetPort
:
http
{{
- if .nodePort
}}
nodePort
:
{{
.nodePort | int
}}
{{
- if
.Values.webui.service
.nodePort
}}
nodePort
:
{{
.Values.webui.service
.nodePort | int
}}
{{
- end
}}
{{
- end
}}
{{
- if .Values.webui.service.loadBalancerClass
}}
loadBalancerClass
:
{{
.Values.webui.service.loadBalancerClass | quote
}}
{{
- end
}}
kubernetes/helm/values.yaml
View file @
3c4cc602
...
...
@@ -70,3 +70,5 @@ webui:
port
:
80
containerPort
:
8080
nodePort
:
"
"
labels
:
{}
loadBalancerClass
:
"
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment