apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: temporal
  namespace: argocd
  annotations:
    agentic-os.io/helm-chart-notes: "Pinned 0.55.x; Temporal chart 1.x uses a different values schema—bump targetRevision only after rewriting ai-core/temporal/helm-values.yaml against that chart."
spec:
  project: agentic-os
  destination:
    server: https://kubernetes.default.svc
    namespace: ai-core
  sources:
    - repoURL: https://go.temporal.io/helm-charts
      chart: temporal
      targetRevision: 0.55.0
      helm:
        valueFiles:
          - $values/ai-core/temporal/helm-values.yaml
    - repoURL: http://192.168.8.248:3000/deepkoluguri/agentic-os.git
      targetRevision: main
      ref: values
      path: ai-core/temporal
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    syncOptions:
      - CreateNamespace=true
