42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
---
|
|
# 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:
|
|
spec:
|
|
chart: crowdsec
|
|
version: 0.9.10
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: crowdsec
|
|
namespace: flux-system
|
|
interval: 30m
|
|
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
|