This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/kubernetes/apps/security/crowdsec/app/helmrelease.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.9
sourceRef:
kind: HelmRepository
name: crowdsec
namespace: flux-system
interval: 30m
values:
container_runtime: containerd
image:
tag: "v1.5.4"
agent:
acquisition:
- namespace: network
podName: ingress-nginx-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