Files
launchpad/argocd/infra/fluent-bit.yaml
Danijel Simeunovic 0992b7b1c9 argocd hooks and phases
2026-02-08 12:39:54 +01:00

52 lines
1.2 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: fluent-bit
namespace: argocd
annotations:
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/hook-delete-policy: HookSucceeded
argocd.argoproj.io/sync-wave: "1"
labels:
app.kubernetes.io/name: fluent-bit
app.kubernetes.io/part-of: monitoring-stack
app.kubernetes.io/managed-by: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
sources:
- repoURL: https://fluent.github.io/helm-charts
chart: fluent-bit
targetRevision: 0.47.10
helm:
releaseName: fluent-bit
valueFiles:
- $values/argocd/values/fluent-bit-values.yaml
- repoURL: https://github.com/fortedigital/sturdy-adventure.git
targetRevision: HEAD
ref: values
destination:
server: https://kubernetes.default.svc
namespace: monitoring
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- CreateNamespace=true
- Validate=true
- ServerSideApply=true
timeout: 300s
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m