commit 06288b9152dbe38360abb193c86ac61d5d4366e6 Author: Mohamed AMAZIRH Date: Fri Mar 14 15:58:32 2025 +0100 first commit diff --git a/applicationset/ai-assistant-applicationset.yaml b/applicationset/ai-assistant-applicationset.yaml new file mode 100644 index 0000000..9ff65be --- /dev/null +++ b/applicationset/ai-assistant-applicationset.yaml @@ -0,0 +1,31 @@ +apiVersion: argoproj.io/v1alpha1 +kind: ApplicationSet +metadata: + name: ai-assistant-applicationset +spec: + generators: + - git: + repoURL: https://gitea.9003009.xyz/argocd-apps/ai-assistant.git + revision: HEAD + files: + - path: "helm-charts/**/values.yaml" + template: + metadata: + name: '{{.path.basename}}' + spec: + project: ai-assistant + source: + repoURL: https://gitea.9003009.xyz + chart: 'helm-charts/{{path.basename}}' + targetRevision: "*" + helm: + valueFiles: + - values.yaml + destination: + server: https://kubernetes.default.svc + namespace: ai-assistant + syncPolicy: + automated: + selfHeal: true + prune: true + diff --git a/helm-charts-values/ollama/values.yaml b/helm-charts-values/ollama/values.yaml new file mode 100644 index 0000000..8e910ad --- /dev/null +++ b/helm-charts-values/ollama/values.yaml @@ -0,0 +1,9 @@ +replicaCount: 1 +image: + repository: ollama + name: ollama + tag: "" +container: + port: 11434 +service: + port: 11434 diff --git a/helm-charts-values/open-webui/values.yaml b/helm-charts-values/open-webui/values.yaml new file mode 100644 index 0000000..705a8ad --- /dev/null +++ b/helm-charts-values/open-webui/values.yaml @@ -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" \ No newline at end of file