adding kustomization
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
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
|
||||
Reference in New Issue
Block a user