Merge pull request #5279 from afritzler/enh/kustomization

feat: Improve `kustomization` usage
This commit is contained in:
Timothy Jaeryang Baek
2024-09-09 23:04:29 +01:00
committed by GitHub
4 changed files with 16 additions and 13 deletions

View File

@@ -0,0 +1,8 @@
resources:
- open-webui.yaml
- ollama-service.yaml
- ollama-statefulset.yaml
- webui-deployment.yaml
- webui-service.yaml
- webui-ingress.yaml
- webui-pvc.yaml

View File

@@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../base
patches:
- path: ollama-statefulset-gpu.yaml

View File

@@ -1,13 +0,0 @@
resources:
- base/open-webui.yaml
- base/ollama-service.yaml
- base/ollama-statefulset.yaml
- base/webui-deployment.yaml
- base/webui-service.yaml
- base/webui-ingress.yaml
- base/webui-pvc.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
patches:
- path: patches/ollama-statefulset-gpu.yaml