Files
homelab/k8s/argocd/apps/phase3-workflows.yaml
T

60 lines
1.4 KiB
YAML

# Phase 3 — Workflows (Temporal + Story Crater Migrations)
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: temporal
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "1"
spec:
project: homelab
sources:
- repoURL: https://go.temporal.io/helm-charts
chart: temporal
targetRevision: "~0.55"
helm:
valueFiles:
- k8s/temporal/temporal-values.yaml
- k8s/temporal/temporal-secrets.enc.yaml
- repoURL: https://forgejo.riotpiao.homelab.com/riotpiao.com/homelab.git
targetRevision: main
path: k8s/hooks/phase3
destination:
server: https://kubernetes.default.svc
namespace: temporal
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: story-crater-migrations
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
project: homelab
source:
repoURL: https://forgejo.riotpiao.homelab.com/riotpiao.com/homelab.git
targetRevision: main
path: k8s/story-crater-backend/charts/migrations-noop
helm:
valueFiles:
- values.yaml
destination:
server: https://kubernetes.default.svc
namespace: story-crater-backend
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true