Add image variants, PDB/updateStrategy, feature.yaml and optional acquisition container selection#340
Open
Autherain wants to merge 5 commits intocrowdsecurity:mainfrom
Open
Add image variants, PDB/updateStrategy, feature.yaml and optional acquisition container selection#340Autherain wants to merge 5 commits intocrowdsecurity:mainfrom
Autherain wants to merge 5 commits intocrowdsecurity:mainfrom
Conversation
added 3 commits
March 9, 2026 15:01
Registration jobs run scripts that use apk (Alpine), so they are incompatible with the Debian image variant. image.jobs.tagSuffix defaults to null (inherits from image.tagSuffix) but can be explicitly set to "" to pin jobs to the Alpine-based image when image.tagSuffix is "-debian".
- lapi.podDisruptionBudget: optional PodDisruptionBudget (policy/v1) to guarantee minimum availability during voluntary disruptions (node drains, rolling cluster upgrades). Supports both minAvailable and maxUnavailable. - agent.updateStrategy: expose DaemonSet updateStrategy in values to allow tuning maxUnavailable during agent rollouts (defaults to RollingUpdate/1).
Expose /etc/crowdsec/feature.yaml via config.feature.yaml in values to allow enabling or disabling experimental CrowdSec feature flags (e.g. cscli_setup, re2_grok_support). The ConfigMap is mounted in both LAPI and agent pods since feature flags apply to all CrowdSec processes.
104e72b to
3cca731
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
image.tagSuffixto append a suffix to image tags (for alternative image flavors)image.jobs.tagSuffixto override suffix for registration jobs (keep Alpine compatibility when main image uses-debian)lapi.podDisruptionBudgetto protect LAPI availability during voluntary disruptionsagent.updateStrategyto configure DaemonSet rollout behaviorconfig.feature.yamlto configure CrowdSec feature flags mounted in LAPI and agent podsagent.acquisition[].containerNameto restrict pod log acquisition to a specific container, while preserving existing wildcard behavior when omittedValidation
helm lint ./charts/crowdsec/ -f ./charts/crowdsec/ci/crowdsec-values.yamlhelm templatecheck withcontainerNameset: renders/var/log/containers/<pod>_<namespace>_<container>-*.loghelm templatecheck withoutcontainerName: keeps/var/log/containers/<pod>_<namespace>_*.log@bitnami/readme-generator-for-helm/kind enhancement
/area configuration