feat(argocd): enable poimen-root Application for poiman orchestration
This commit is contained in:
@@ -1,28 +1,40 @@
|
||||
# Poimen project collection — manages poimen-memory, poimen-workflows, and poimen
|
||||
# Each tracks its own prod branch in the Forgejo instance.
|
||||
# This is a placeholder; uncomment and configure as the repos become available.
|
||||
# Poimen project collection — manages poimen-memory, poimen-workflows, and poiman
|
||||
# Each repo tracks its own main branch (no prod branch). Poiman is the primary
|
||||
# orchestrator with k8s/argocd/ containing the AppProject and deployment structure.
|
||||
#
|
||||
# apiVersion: argoproj.io/v1alpha1
|
||||
# kind: Application
|
||||
# metadata:
|
||||
# name: poimen-root
|
||||
# namespace: argocd
|
||||
# annotations:
|
||||
# argocd.argoproj.io/sync-wave: "7"
|
||||
# spec:
|
||||
# project: homelab
|
||||
# source:
|
||||
# repoURL: https://forgejo.riotpiao.com/rock/poimen.git
|
||||
# targetRevision: prod
|
||||
# path: k8s/argocd/apps
|
||||
# directory:
|
||||
# recurse: false
|
||||
# destination:
|
||||
# server: https://kubernetes.default.svc
|
||||
# namespace: default # or your target namespace
|
||||
# syncPolicy:
|
||||
# automated:
|
||||
# prune: true
|
||||
# selfHeal: true
|
||||
# syncOptions:
|
||||
# - CreateNamespace=true
|
||||
# CI: All three repos trigger on main branch pushes (no image builds yet).
|
||||
# Future: Add build workflows for poiman once container runtime needs are clear.
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: poimen-root
|
||||
namespace: argocd
|
||||
labels:
|
||||
app.kubernetes.io/name: poimen
|
||||
app.kubernetes.io/component: orchestrator
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "7"
|
||||
spec:
|
||||
project: homelab
|
||||
sources:
|
||||
- repoURL: https://forgejo.riotpiao.com/rock/poiman.git
|
||||
targetRevision: main
|
||||
path: k8s
|
||||
- repoURL: https://forgejo.riotpiao.com/rock/poimen-workflows.git
|
||||
targetRevision: main
|
||||
path: k8s
|
||||
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