Commit 770c6f21 authored by duhow's avatar duhow
Browse files

remove namespace

parent 76a78893
apiVersion: v1
kind: Namespace
metadata:
name: {{ .Values.namespace }}
\ No newline at end of file
...@@ -2,7 +2,6 @@ apiVersion: v1 ...@@ -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:
...@@ -10,4 +9,4 @@ spec: ...@@ -10,4 +9,4 @@ spec:
ports: ports:
- protocol: TCP - protocol: TCP
port: {{ .Values.ollama.servicePort }} port: {{ .Values.ollama.servicePort }}
targetPort: {{ .Values.ollama.servicePort }} targetPort: {{ .Values.ollama.servicePort }}
\ No newline at end of file
...@@ -2,7 +2,6 @@ apiVersion: apps/v1 ...@@ -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 }}
...@@ -52,4 +51,4 @@ spec: ...@@ -52,4 +51,4 @@ spec:
accessModes: [ "ReadWriteOnce" ] accessModes: [ "ReadWriteOnce" ]
resources: resources:
requests: requests:
storage: {{ .Values.ollama.volumeSize }} storage: {{ .Values.ollama.volumeSize }}
\ No newline at end of file
...@@ -2,7 +2,6 @@ apiVersion: apps/v1 ...@@ -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:
...@@ -35,4 +34,4 @@ spec: ...@@ -35,4 +34,4 @@ spec:
volumes: volumes:
- name: webui-volume - name: webui-volume
persistentVolumeClaim: persistentVolumeClaim:
claimName: open-webui-pvc claimName: open-webui-pvc
\ No newline at end of file
...@@ -3,7 +3,6 @@ apiVersion: networking.k8s.io/v1 ...@@ -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 }}
......
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:
requests: requests:
storage: {{ .Values.webui.volumeSize }} storage: {{ .Values.webui.volumeSize }}
\ No newline at end of file
...@@ -2,7 +2,6 @@ apiVersion: v1 ...@@ -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:
...@@ -12,4 +11,4 @@ spec: ...@@ -12,4 +11,4 @@ spec:
port: {{ .Values.webui.servicePort }} port: {{ .Values.webui.servicePort }}
targetPort: {{ .Values.webui.servicePort }} targetPort: {{ .Values.webui.servicePort }}
# If using NodePort, you can optionally specify the nodePort: # If using NodePort, you can optionally specify the nodePort:
# nodePort: 30000 # nodePort: 30000
\ No newline at end of file
namespace: open-webui
ollama: ollama:
replicaCount: 1 replicaCount: 1
image: ollama/ollama:latest image: ollama/ollama:latest
...@@ -41,4 +39,4 @@ webui: ...@@ -41,4 +39,4 @@ webui:
nodeSelector: {} nodeSelector: {}
tolerations: [] tolerations: []
service: service:
type: NodePort type: NodePort
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment