remove namespace

This commit is contained in:
duhow 2024-02-19 21:49:30 +01:00
parent 76a788939f
commit 770c6f210c
No known key found for this signature in database
8 changed files with 7 additions and 19 deletions

View file

@ -1,4 +0,0 @@
apiVersion: v1
kind: Namespace
metadata:
name: {{ .Values.namespace }}

View file

@ -2,7 +2,6 @@ apiVersion: v1
kind: Service
metadata:
name: ollama-service
namespace: {{ .Values.namespace }}
spec:
type: {{ .Values.ollama.service.type }}
selector:

View file

@ -2,7 +2,6 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: ollama
namespace: {{ .Values.namespace }}
spec:
serviceName: "ollama"
replicas: {{ .Values.ollama.replicaCount }}

View file

@ -2,7 +2,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: open-webui-deployment
namespace: {{ .Values.namespace }}
spec:
replicas: 1
selector:

View file

@ -3,7 +3,6 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: open-webui-ingress
namespace: {{ .Values.namespace }}
{{- if .Values.webui.ingress.annotations }}
annotations:
{{ toYaml .Values.webui.ingress.annotations | trimSuffix "\n" | indent 4 }}

View file

@ -1,10 +1,9 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: open-webui-pvc
labels:
app: open-webui
name: open-webui-pvc
namespace: {{ .Values.namespace }}
spec:
accessModes: [ "ReadWriteOnce" ]
resources:

View file

@ -2,7 +2,6 @@ apiVersion: v1
kind: Service
metadata:
name: open-webui-service
namespace: {{ .Values.namespace }}
spec:
type: {{ .Values.webui.service.type }} # Default: NodePort # Use LoadBalancer if you're on a cloud that supports it
selector:

View file

@ -1,5 +1,3 @@
namespace: open-webui
ollama:
replicaCount: 1
image: ollama/ollama:latest