35 lines
924 B
YAML
35 lines
924 B
YAML
# Poimen Memory Database — CNPG Postgres cluster with pgvector
|
|||
|
|
# Synced by poimen-orchestrator (or standalone if deployed directly)
|
||
|
|
apiVersion: argoproj.io/v1alpha1
|
||
|
|
kind: Application
|
||
|
|
metadata:
|
||
|
|
name: poimen-memory-database
|
||
|
|
namespace: argocd
|
||
|
|
labels:
|
||
|
|
app.kubernetes.io/name: poimen-memory
|
||
|
|
app.kubernetes.io/component: database
|
||
|
|
annotations:
|
||
|
|
argocd.argoproj.io/sync-wave: "2" # Wave 2: databases (after bootstrap, before apps)
|
||
|
|
spec:
|
||
|
|
project: homelab
|
||
|
|
source:
|
||
|
|
repoURL: https://github.com/Riotpiaole/Poimen-memory.git
|
||
|
|
targetRevision: main
|
||
|
|
path: k8s/infra/databases
|
||
|
|
destination:
|
||
|
|
server: https://kubernetes.default.svc
|
||
|
|
namespace: default
|
||
|
|
syncPolicy:
|
||
|
|
automated:
|
||
|
|
prune: true
|
||
|
|
selfHeal: true
|
||
|
|
syncOptions:
|
||
|
|
- CreateNamespace=true
|
||
|
|
- ServerSideApply=true
|
||
|
|
retry:
|
||
|
|
limit: 5
|
||
|
|
backoff:
|
||
|
|
duration: 5s
|
||
|
|
factor: 2
|
||
|
|
maxDuration: 3m
|