mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
expose ollama internally
This commit is contained in:
18
apps/charts/ollama/templates/virtual-service.yaml
Normal file
18
apps/charts/ollama/templates/virtual-service.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: networking.istio.io/v1
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}"
|
||||
namespace: "{{ .Release.Namespace }}"
|
||||
spec:
|
||||
gateways:
|
||||
- "{{ .Values.globals.istio.gateway }}"
|
||||
- mesh
|
||||
hosts:
|
||||
- "{{ .Values.subdomain }}.{{ .Values.globals.domain }}"
|
||||
- mesh
|
||||
http:
|
||||
- route:
|
||||
- destination:
|
||||
host: "{{ .Release.Name }}"
|
||||
port:
|
||||
number: 80
|
||||
@@ -2,4 +2,4 @@ image:
|
||||
repository: ollama/ollama
|
||||
tag: 0.13.1@sha256:8850b8b33936b9fb246e7b3e02849941f1151ea847e5fb15511f17de9589aea1
|
||||
pullPolicy: IfNotPresent
|
||||
subdomain: openwebui
|
||||
subdomain: ollama
|
||||
|
||||
Reference in New Issue
Block a user