Files
platform/tekton/ci-cd/argocd.yaml
Mayne0213 4a1a718060 FIX(tekton): disable prune for dynamic PipelineRuns
- Set prune: false to prevent ArgoCD from deleting PipelineRuns
- PipelineRuns/TaskRuns are dynamically created by triggers
- IgnoreExtraneous only affects diff, not prune action
2026-01-11 00:39:20 +09:00

34 lines
777 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: tekton-ci-cd
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
annotations:
argocd.argoproj.io/compare-options: IgnoreExtraneous
spec:
project: default
source:
repoURL: https://github0213.com/K3S-HOME/platform.git
targetRevision: main
path: tekton/ci-cd/manifests
destination:
server: https://kubernetes.default.svc
namespace: tekton-pipelines
syncPolicy:
automated:
prune: false
selfHeal: true
syncOptions:
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m
revisionHistoryLimit: 10