use application instead of applicationset
This commit is contained in:
parent
167d4a5615
commit
ddb9721ac4
18
applications/ollama.yaml
Normal file
18
applications/ollama.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
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
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
18
applications/open-webui.yaml
Normal file
18
applications/open-webui.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
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/ollama
|
||||
project: ai-assistant
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
@ -1,30 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: ai-assistant-applicationset
|
||||
namespace: ai-assistant
|
||||
spec:
|
||||
generators:
|
||||
- list:
|
||||
elements:
|
||||
- appName: ollama
|
||||
chart: helm-charts/ollama
|
||||
- appName: open-webui
|
||||
chart: helm-charts/open-webui
|
||||
|
||||
template:
|
||||
metadata:
|
||||
name: '{{appName}}'
|
||||
spec:
|
||||
project: ai-assistant
|
||||
source:
|
||||
repoURL: gitea.9003009.xyz
|
||||
targetRevision: '*'
|
||||
chart: '{{chart}}'
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: ai-assistant
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
@ -1,9 +0,0 @@
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: ollama
|
||||
name: ollama
|
||||
tag: ""
|
||||
container:
|
||||
port: 11434
|
||||
service:
|
||||
port: 11434
|
||||
@ -1,12 +0,0 @@
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: ghcr.io/open-webui
|
||||
name: open-webui
|
||||
tag: ""
|
||||
|
||||
ingress:
|
||||
host: "open-webui.9003009.xyz"
|
||||
|
||||
ollama:
|
||||
baseUrl: "http://ollama-service:11434"
|
||||
Loading…
x
Reference in New Issue
Block a user