apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ollama-scheduler.yaml - coderunner.yaml - tools.yaml - rag-server.yaml - openwebui.yaml - postgresql.yaml - searxng.yaml - browser.yaml - debug.yaml - policy.yaml - policy-argo.yaml generatorOptions: disableNameSuffixHash: true # FINDME: The global branch for my repo configMapGenerator: - name: ollama-plus-revs literals: - targetRevision=argo # 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