# Target Revenue Trust Service + Control Plane (WP-0011).
# Source of truth: coulomb/target-revenue k8s/railiance (issue-core pattern).
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: target-revenue
  namespace: argocd
  labels:
    app.kubernetes.io/part-of: railiance-gitops
    railiance.io/domain: target-revenue
  annotations:
    argocd.argoproj.io/sync-wave: "10"
spec:
  project: railiance-tenants
  source:
    repoURL: https://forgejo.coulomb.social/coulomb/target-revenue.git
    targetRevision: main
    path: k8s/railiance
  destination:
    server: https://kubernetes.default.svc
    namespace: target-revenue
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    syncOptions:
      - CreateNamespace=true
      - ApplyOutOfSyncOnly=true
      - PruneLast=true
