Skip to content

Commit

Permalink
try to make cluster versions
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Ravelo <[email protected]>
  • Loading branch information
carlos-ravelo-ask committed Apr 14, 2024
1 parent 6c2db30 commit 827eef7
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 3 deletions.
2 changes: 0 additions & 2 deletions apps/OpenAIWhisper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ metadata:
spec:
interval: 1m
url: "https://charts.truecharts.org"

---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
Expand All @@ -29,4 +28,3 @@ spec:
key2:
subkey1: value2
subkey2: value3

2 changes: 1 addition & 1 deletion apps/OpenWebUI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
namespace: default
spec:
interval: 5m
path: ./apps/open-webui/base/
path: ./apps/open-webui/${CLUSTER_NAME
prune: true
sourceRef:
kind: GitRepository
Expand Down
3 changes: 3 additions & 0 deletions apps/open-webui/base/webui-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ spec:
- name: yasr-volume
persistentVolumeClaim:
claimName: yasr-volume
- name: main-volume
persistentVolumeClaim:
claimName: main-volume
- name: tz-config
hostPath:
path: /etc/localtime
12 changes: 12 additions & 0 deletions apps/open-webui/gandazgul/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: default
resources:
#- ../base/ollama-service.yaml
#- ../base/ollama-statefulset.yaml
- ../base/webui-deployment.yaml
- ../base/webui-service.yaml
- ../base/webui-ingress.yaml

patchesStrategicMerge:
- webui-deployment-patch.yaml
14 changes: 14 additions & 0 deletions apps/open-webui/gandazgul/webui-deployment-patch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: open-webui
spec:
template:
spec:
containers:
- name: open-webui
volumeMounts:
- name: main-volume
mountPath: /data/docs
subPath: "/media/main/btsync/Carlos' Documents/"
1 change: 1 addition & 0 deletions clusters/gandazgul/ClusterKustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ spec:
CLUSTER_TIME_ZONE: America/New_York
BITWARDEN_SUBDOMAIN: "pass"
HASS_SUBDOMAIN: "ha"
CLUSTER_NAME: "gandazgul"
substituteFrom:
# substitutions can also come from a config map or secret
# - kind: ConfigMap
Expand Down

0 comments on commit 827eef7

Please sign in to comment.