falco icon indicating copy to clipboard operation
falco copied to clipboard

Falco driver loader init container fails to download artifacts behind proxy

Open MaciekLeks opened this issue 1 year ago • 7 comments

Describe the bug

The Falco driver loader init container, which uses the falcosecurity/falco-driver-loader image, fails to download the required artifacts when running behind a proxy. It seems that the init container does not properly use the provided proxy settings, resulting in an error:

{"level":"ERROR","msg":"unable to fetch index \"falcosecurity\" with URL \"https://falcosecurity.github.io/falcoctl/index.yaml\": unable to fetch index: Stream closed EOF for cybersec/falco-zq8dq (falcoctl-artifact-install)

How to reproduce it

  1. Set up a Kubernetes cluster behind a proxy.
  2. Configure the proxy settings in the Falco Helm chart values file:
initContainers:
  - args:
    - auto
    env:
    - name: https_proxy
      value: http://proxy:3128
    - name: http_proxy  
      value: http://proxy:3128
    - name: no_proxy
      value: localhost,127.0.0.1,.local
    image: docker.io/falcosecurity/falco-driver-loader:0.38.2
  1. Install Falco using the Helm chart with the configured proxy settings.

Expected behavior

The Falco driver loader init container (falcosecurity/falco-driver-loader) should respect the provided proxy settings and successfully download the required artifacts.

Actual behavior

The falcosecurity/falco-driver-loader init container fails to download the artifacts, and there is no traffic observed on the configured proxy, indicating that the init container is not using the proxy settings.

Environment

  • Falco version: 0.38.2
  • Installation method: Helm chart
  • Affected image: falcosecurity/falco-driver-loader:0.38.2

MaciekLeks avatar Sep 23 '24 11:09 MaciekLeks

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

poiana avatar Dec 22 '24 16:12 poiana

/remove-lifecycle stale

MaciekLeks avatar Dec 22 '24 17:12 MaciekLeks

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

poiana avatar Mar 22 '25 22:03 poiana

Stale issues rot after 30d of inactivity.

Mark the issue as fresh with /remove-lifecycle rotten.

Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle rotten

poiana avatar Apr 21 '25 22:04 poiana

/remove-lifecycle rotten

MaciekLeks avatar Apr 22 '25 06:04 MaciekLeks

Please support downloading through proxy, I see the same error

wargamez avatar Apr 26 '25 11:04 wargamez

Set proxy in all env section in values.yaml and same error

mcinquin avatar May 14 '25 08:05 mcinquin

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

poiana avatar Aug 12 '25 10:08 poiana

Stale issues rot after 30d of inactivity.

Mark the issue as fresh with /remove-lifecycle rotten.

Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle rotten

poiana avatar Sep 11 '25 10:09 poiana

still a real problem

michal0000000 avatar Oct 02 '25 14:10 michal0000000

Rotten issues close after 30d of inactivity.

Reopen the issue with /reopen.

Mark the issue as fresh with /remove-lifecycle rotten.

Provide feedback via https://github.com/falcosecurity/community. /close

poiana avatar Nov 01 '25 16:11 poiana

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue with /reopen.

Mark the issue as fresh with /remove-lifecycle rotten.

Provide feedback via https://github.com/falcosecurity/community. /close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

poiana avatar Nov 01 '25 16:11 poiana