falcosecurity / charts

Community managed Helm charts for running Falco with Kubernetes
Apache License 2.0
230 stars 280 forks source link

Change order of unordered volume list in falco scc alphabetically #693

Closed toamto94 closed 3 weeks ago

toamto94 commented 4 weeks ago

Describe the bug

There is an unordered list of volumes in the falco scc yaml in the falco helm chart. After deployment, the kube-api orders this list alphabetically. However, other tools, such as ArgoCD just compare plain yaml while verifying the resource during runtime. This is prone to error and may mark the application as invalid which is of course a false positive. Ordering the volumes alphabetically in advance would mitigate the problem, making it more robust in many usecases.

How to reproduce it

deploy the falco helm chart via ArgoCD. The application should be unable to sync as Argo just compares plain yaml.

Expected behaviour

Everything should have synced properly

Screenshots

image