---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: crowdsec
spec:
interval: 30m
chart:
chart: crowdsec
version: 0.9.10
sourceRef:
kind: HelmRepository
namespace: flux-system
values:
container_runtime: containerd
image:
tag: "v1.5.5"
agent:
acquisition:
- namespace: network
podName: ingress-nginx-hsn-controller-*
program: nginx
env:
# As we are running Nginx, we want to install the Nginx collection
- name: COLLECTIONS
value: "crowdsecurity/nginx"
- name: PARSERS
value: "crowdsecurity/cri-logs"
# Too many false positives from just browsing a website.
- name: DISABLE_SCENARIOS
value: "crowdsecurity/http-probing crowdsecurity/http-crawl-non_statics crowdsecurity/http-generic-bf"
resources:
limits:
memory: 512Mi
requests:
cpu: 150m
memory: 256Mi