Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
flickers opened this issue Jun 25, 2024 · 2 comments
Open

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

flickers opened this issue Jun 25, 2024 · 2 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@flickers
Copy link

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

  • Falco version:
falco --version
Tue Jun 25 14:00:56 2024: Using deprecated config key 'rules_file' (singular form). Please use new 'rules_files' config key (plural form).
Tue Jun 25 14:00:56 2024: Falco version: 0.38.1 (x86_64)
Tue Jun 25 14:00:56 2024: Falco initialized with configuration files:
Tue Jun 25 14:00:56 2024:    /etc/falco/falco.yaml
Tue Jun 25 14:00:56 2024: System info: Linux version 5.10.218-208.862.amzn2.x86_64 (mockbuild@ip-10-0-42-214) (gcc10-gcc (GCC) 10.5.0 20230707 (Red Hat 10.5.0-1), GNU ld version 2.35.2-9.amzn2.0.1) #1 SMP Tue Jun 4 16:52:10 UTC 2024
{"default_driver_version":"7.2.0+driver","driver_api_version":"8.0.0","driver_schema_version":"2.0.0","engine_version":"40","engine_version_semver":"0.40.0","falco_version":"0.38.1","libs_version":"0.17.2","plugin_api_version":"3.6.0"}
  • System info:
falco --support | jq .system_info
Tue Jun 25 13:58:31 2024: Using deprecated config key 'rules_file' (singular form). Please use new 'rules_files' config key (plural form).
Tue Jun 25 13:58:31 2024: Falco version: 0.38.1 (x86_64)
Tue Jun 25 13:58:31 2024: Falco initialized with configuration files:
Tue Jun 25 13:58:31 2024:    /etc/falco/falco.yaml
Tue Jun 25 13:58:31 2024: System info: Linux version 5.10.218-208.862.amzn2.x86_64 (mockbuild@ip-10-0-42-214) (gcc10-gcc (GCC) 10.5.0 20230707 (Red Hat 10.5.0-1), GNU ld version 2.35.2-9.amzn2.0.1) #1 SMP Tue Jun 4 16:52:10 UTC 2024
Tue Jun 25 13:58:31 2024: Loading rules from file /etc/falco/falco_rules.yaml
Tue Jun 25 13:58:31 2024: Loading rules from file /etc/falco/rules.d/datadog-agent-exclude.yaml
Tue Jun 25 13:58:32 2024: Loading rules from file /etc/falco/rules.d/k8s-api-namespace-exclude.yaml
Tue Jun 25 13:58:32 2024: Loading rules from file /etc/falco/rules.d/kong-spawn-processes-exclude.yaml
{
  "machine": "x86_64",
  "nodename": "falco-2b9cd",
  "release": "5.10.218-208.862.amzn2.x86_64",
  "sysname": "Linux",
  "version": "#1 SMP Tue Jun 4 16:52:10 UTC 2024"
}
  • Cloud provider or hardware configuration:
  • OS: EKS - linux
  • Kernel: 5.10.218-208.862.amzn2.x86_64
  • Installation method:
    Kubernetes using Helm and ArgoCD

Additional context

@flickers flickers added the kind/bug Something isn't working label Jun 25, 2024
@alacuku
Copy link
Member

alacuku commented Jun 26, 2024

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:

kind: auto

@leogr
Copy link
Member

leogr commented Aug 28, 2024

/assign @alacuku

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants