Files
Homelabv4/argocd-apps/infrastructure/crowdsec.yaml
T
Scooby HuskyandClaude Opus 4.6 aa7c5d2cb2 Add ignoreDifferences for crowdsec-lapi secret checksum
The checksum/lapi-secret annotation on the LAPI Deployment changes
when CrowdSec auto-generates credentials, causing permanent
OutOfSync with ArgoCD ServerSideDiff.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 19:12:21 -05:00

48 lines
1.3 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: crowdsec
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "22"
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: infrastructure
ignoreDifferences:
- group: ""
kind: Secret
name: crowdsec-lapi-secrets
jsonPointers:
- /data
- group: apps
kind: Deployment
name: crowdsec-lapi
jqPathExpressions:
- .spec.template.metadata.annotations."checksum/lapi-secret"
sources:
- repoURL: https://crowdsecurity.github.io/helm-charts
chart: crowdsec
targetRevision: "*"
helm:
valueFiles:
- $values/infrastructure/crowdsec/values.yaml
- repoURL: https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
targetRevision: main
ref: values
- repoURL: https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
targetRevision: main
path: infrastructure/crowdsec/manifests
destination:
server: https://kubernetes.default.svc
namespace: crowdsec
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
- ServerSideDiff=true
- RespectIgnoreDifferences=true