Files
homelab/k8s/argocd/apps/70-poimen-memory.yaml
T

42 lines
1.3 KiB
YAML
Raw Normal View History

# Wave 7 — poimen-memory k8s resources (namespace poimen).
#
# Manages: Deployment, Service, ConfigMap, Redis cache, NetworkPolicies,
# ServiceMonitor, and any future k8s infra owned by the memory service.
# Image updates handled by argocd-image-updater (digest strategy, :latest tag).
#
# Source: riotpiao-poimen/poimen-memory.git k8s/app/
# Kustomization at k8s/app/kustomization.yaml lists all managed resources.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: poimen-memory
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "7"
argocd-image-updater.argoproj.io/image-list: |
memory=forgejo.riotpiao.com/riotpiao-poimen/poimen-memory
argocd-image-updater.argoproj.io/memory.update-strategy: digest
argocd-image-updater.argoproj.io/memory.allow-tags: regexp:^latest$
argocd-image-updater.argoproj.io/write-back-method: argocd
spec:
project: homelab
source:
repoURL: https://forgejo.riotpiao.com/riotpiao-poimen/poimen-memory.git
targetRevision: main
path: k8s/app
destination:
server: https://kubernetes.default.svc
namespace: poimen
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m