infra/argocd-apps/cert-manager-stack.yaml

34 lines
777 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cert-manager-stack
namespace: argocd
labels:
env: infra
spec:
project: infra
source:
repoURL: ssh://git@gitea-ssh.dev-tools.svc.cluster.local:2222/dvirlabs/infra.git
targetRevision: HEAD
path: charts/cert-manager-stack
helm:
valueFiles:
- ../../manifests/cert-manager-stack/values.yaml
destination:
server: https://kubernetes.default.svc
namespace: cert-manager
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
# Retry policy for handling transient errors during sync
retry:
limit: 3
backoff:
duration: 5s
factor: 2
maxDuration: 3m