forked from open-webui/open-webui
remove namespace
This commit is contained in:
parent
76a788939f
commit
770c6f210c
8 changed files with 7 additions and 19 deletions
|
@ -1,4 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: {{ .Values.namespace }}
|
|
|
@ -2,7 +2,6 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: ollama-service
|
name: ollama-service
|
||||||
namespace: {{ .Values.namespace }}
|
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.ollama.service.type }}
|
type: {{ .Values.ollama.service.type }}
|
||||||
selector:
|
selector:
|
||||||
|
|
|
@ -2,7 +2,6 @@ apiVersion: apps/v1
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
name: ollama
|
name: ollama
|
||||||
namespace: {{ .Values.namespace }}
|
|
||||||
spec:
|
spec:
|
||||||
serviceName: "ollama"
|
serviceName: "ollama"
|
||||||
replicas: {{ .Values.ollama.replicaCount }}
|
replicas: {{ .Values.ollama.replicaCount }}
|
||||||
|
|
|
@ -2,7 +2,6 @@ apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: open-webui-deployment
|
name: open-webui-deployment
|
||||||
namespace: {{ .Values.namespace }}
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
|
|
|
@ -3,7 +3,6 @@ apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: open-webui-ingress
|
name: open-webui-ingress
|
||||||
namespace: {{ .Values.namespace }}
|
|
||||||
{{- if .Values.webui.ingress.annotations }}
|
{{- if .Values.webui.ingress.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{ toYaml .Values.webui.ingress.annotations | trimSuffix "\n" | indent 4 }}
|
{{ toYaml .Values.webui.ingress.annotations | trimSuffix "\n" | indent 4 }}
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
|
name: open-webui-pvc
|
||||||
labels:
|
labels:
|
||||||
app: open-webui
|
app: open-webui
|
||||||
name: open-webui-pvc
|
|
||||||
namespace: {{ .Values.namespace }}
|
|
||||||
spec:
|
spec:
|
||||||
accessModes: [ "ReadWriteOnce" ]
|
accessModes: [ "ReadWriteOnce" ]
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -2,7 +2,6 @@ apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: open-webui-service
|
name: open-webui-service
|
||||||
namespace: {{ .Values.namespace }}
|
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.webui.service.type }} # Default: NodePort # Use LoadBalancer if you're on a cloud that supports it
|
type: {{ .Values.webui.service.type }} # Default: NodePort # Use LoadBalancer if you're on a cloud that supports it
|
||||||
selector:
|
selector:
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
namespace: open-webui
|
|
||||||
|
|
||||||
ollama:
|
ollama:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image: ollama/ollama:latest
|
image: ollama/ollama:latest
|
||||||
|
|
Loading…
Reference in a new issue