Compare commits

..

1 Commits

Author SHA1 Message Date
23257c4905 applicationset config 2025-03-17 13:18:27 +01:00
5 changed files with 48 additions and 36 deletions

View File

@ -1,18 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ollama
spec:
destination:
namespace: ai-assistant
server: https://kubernetes.default.svc
source:
path: ''
repoURL: gitea.9003009.xyz
targetRevision: '*'
chart: helm-charts/ollama
project: ai-assistant-project
syncPolicy:
automated:
prune: true
selfHeal: true

View File

@ -1,18 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: open-webui
spec:
destination:
namespace: ai-assistant
server: https://kubernetes.default.svc
source:
path: ''
repoURL: gitea.9003009.xyz
targetRevision: '*'
chart: helm-charts/open-webui
project: ai-assistant-project
syncPolicy:
automated:
prune: true
selfHeal: true

View File

@ -0,0 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: ai-assistant-applicationset
spec:
generators:
- list:
elements:
- appName: ollama
- appName: open-webui
template:
metadata:
name: '{{.appName}}-app'
spec:
project: ai-assistant
source:
repoURL: gitea.9003009.xyz
chart: 'helm-charts/{{.appName}}'
targetRevision: "*"
destination:
server: https://kubernetes.default.svc
namespace: ai-assistant
syncPolicy:
automated:
selfHeal: true
prune: true

View File

@ -0,0 +1,9 @@
replicaCount: 1
image:
repository: ollama
name: ollama
tag: ""
container:
port: 11434
service:
port: 11434

View File

@ -0,0 +1,12 @@
replicaCount: 1
image:
repository: ghcr.io/open-webui
name: open-webui
tag: ""
ingress:
host: "open-webui.9003009.xyz"
ollama:
baseUrl: "http://ollama-service:11434"