36 lines
844 B
YAML
36 lines
844 B
YAML
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||
|
|
kind: Kustomization
|
||
|
|
|
||
|
|
resources:
|
||
|
|
- argo-ollama-scheduler.yaml
|
||
|
|
- coderunner.yaml
|
||
|
|
- tools.yaml
|
||
|
|
- rag-server.yaml
|
||
|
|
- openwebui.yaml
|
||
|
|
- postgresql.yaml
|
||
|
|
- searxng.yaml
|
||
|
|
- browser.yaml
|
||
|
|
|
||
|
|
generatorOptions:
|
||
|
|
disableNameSuffixHash: true
|
||
|
|
|
||
|
|
configMapGenerator:
|
||
|
|
- name: ollama-plus-revs
|
||
|
|
literals:
|
||
|
|
- targetRevision=main
|
||
|
|
|
||
|
|
# Inject targetRevision from the ConfigMap into apps (kill me)
|
||
|
|
replacements:
|
||
|
|
- source:
|
||
|
|
kind: ConfigMap
|
||
|
|
name: ollama-plus-revs
|
||
|
|
fieldPath: data.targetRevision
|
||
|
|
targets:
|
||
|
|
- select:
|
||
|
|
kind: Application
|
||
|
|
labelSelector: repo.ion606.com/ollama-plus=true
|
||
|
|
fieldPaths:
|
||
|
|
- spec.source.targetRevision
|
||
|
|
options:
|
||
|
|
create: true
|