2024-07-06 16:37:26 +00:00
|
|
|
resources:
|
|
|
|
- ollama-deployment.yaml
|
2024-08-08 01:08:02 +00:00
|
|
|
- ollama-ingress.yaml
|
2024-07-06 16:37:26 +00:00
|
|
|
|
|
|
|
namePrefix: ollama-
|
|
|
|
|
|
|
|
commonLabels:
|
|
|
|
app.kubernetes.io/name: ollama
|
2024-08-08 01:08:02 +00:00
|
|
|
|
|
|
|
configMapGenerator:
|
|
|
|
- name: kustomize-generated-config
|
|
|
|
literals:
|
2024-08-08 02:02:10 +00:00
|
|
|
- OLLAMA_EXTERNAL_HOST=ollama.badjware.dev
|
|
|
|
- OLLAMA_EXTERNAL_URL=http://ollama.badjware.dev
|
2024-08-08 01:08:02 +00:00
|
|
|
|
|
|
|
replacements:
|
|
|
|
- source:
|
|
|
|
kind: ConfigMap
|
|
|
|
name: kustomize-generated-config
|
|
|
|
fieldPath: data.OLLAMA_EXTERNAL_HOST
|
|
|
|
targets:
|
|
|
|
- select:
|
|
|
|
kind: Ingress
|
|
|
|
name: server
|
|
|
|
fieldPaths:
|
|
|
|
- spec.rules.0.host
|