Convert all 15 cluster services from embedded API format to wild-directory packages using the unified manifest format: - metallb, traefik, cert-manager, longhorn, snapshot-controller - nfs, smtp, coredns, node-feature-discovery, nvidia-device-plugin - externaldns, docker-registry, headlamp, crowdsec, utils Changes: - wild-manifest.yaml → manifest.yaml with is, defaultConfig, requires - Eliminated configReferences and serviceConfig fields - Flattened kustomize.template/ to package root - Template vars use flat defaultConfig keys - install.sh paths updated for apps/ layout - Updated 9 app manifests: cloud.smtp.* → apps.smtp.* with requires - Removed dead install: true field from 6 app manifests Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
44 lines
987 B
YAML
44 lines
987 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: crowdsec-config
|
|
namespace: crowdsec
|
|
labels:
|
|
app: crowdsec
|
|
managedBy: kustomize
|
|
partOf: wild-cloud
|
|
data:
|
|
acquis.yaml: |
|
|
filenames:
|
|
- /var/log/containers/traefik-*_traefik_*.log
|
|
force_inotify: true
|
|
poll_without_inotify: true
|
|
labels:
|
|
type: containerd
|
|
program: traefik
|
|
profiles.yaml: |
|
|
name: default_ip_remediation
|
|
debug: false
|
|
filters:
|
|
- Alert.Remediation == true && Alert.GetScope() == "Ip"
|
|
decisions:
|
|
- type: ban
|
|
duration: 4h
|
|
on_success: break
|
|
---
|
|
name: default_range_remediation
|
|
debug: false
|
|
filters:
|
|
- Alert.Remediation == true && Alert.GetScope() == "Range"
|
|
decisions:
|
|
- type: ban
|
|
duration: 4h
|
|
scope: Range
|
|
on_success: break
|
|
postoverflows.yaml: |
|
|
# Post-overflow configuration for crowdsec
|
|
name: "rdns"
|
|
debug: false
|
|
filter: "evt.Enriched.IsoCode != ''"
|
|
# Add reverse DNS enrichment
|