falcosecurity / charts

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

falco ConfigMap diff in live vs desired state - using ArgoCD #695

Closed flickers closed 1 month ago

flickers commented 5 months ago

Describe the bug We are using the latest (4.5.1) falco helm chart to deploy falco to our clusters using ArgoCD After a while (minute or so) we see a diff in the live falco configMap vs. desired configMap (rendered from the falco helm chart) Mostly this is due to incorrect indentation but also due to different yaml scalars

How to reproduce it Deploy falco using helm and then compare the falco configMap against the rendered falco configMap. Or deploy using ArgoCD

Expected behaviour We expect the live and desired state to match after we deploy falco using helm and ArgoCD

Screenshots image

Environment

Additional context

alacuku commented 5 months ago

Hi @flickers, when the driver.kind is set to auto, falcoctl will automatically select the optimal driver for Falco. This selection will be updated in the Falco configmap. If you do not want this behavior then set the driver.kind to the desired driver: https://github.com/falcosecurity/charts/blob/7527d0f635bd3a20ece3362fcd8d7b9e418d939a/charts/falco/values.yaml#L184

leogr commented 3 months ago

/assign @alacuku

alacuku commented 1 month ago

Hey @flickers, falcoctl does not update anymore the falco configmap. For more info see: https://github.com/falcosecurity/charts/pull/735.

Let me know if this is still an issue for you.

gvariola commented 1 month ago

Can confirm that this is not an issue now.

flickers commented 1 month ago

Hey @flickers, falcoctl does not update anymore the falco configmap. For more info see: #735.

Let me know if this is still an issue for you.

yeah, no longer an issue now. Thanks

alacuku commented 1 month ago

/close

poiana commented 1 month ago

@alacuku: Closing this issue.

In response to [this](https://github.com/falcosecurity/charts/issues/695#issuecomment-2428487929): >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.