feat(argocd): poimen-memory Application — Redis + NetworkPolicy auto-deploy
Points to riotpiao-poimen/poimen-memory.git k8s/app/ (kustomize). ArgoCD auto-syncs Redis deployment, NetworkPolicies, ConfigMap, Service. Image updater: digest strategy on :latest tag for rolling deployments. Wave 7 — same wave as poimen workflow app.
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user