-
Notifications
You must be signed in to change notification settings - Fork 280
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
fix dir mounting collision when both gRPC and nats are enabled #55
Conversation
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cc @nibalizer Could someone here help me in testing this PR with NATS enabled? |
I can try to test this @leogr :) |
This worked for me when I tested it. It brings up a couple questions:
My request here is to move the path to something unique and unimportant on the base host or to use an emptyDir. |
I totally agree, but unfortunately, I don't have any experience with NATS so I can't make a decision.
There're different issues here. Regarding Secondly, since Falco can be installed either with a DaemonSet or in the host directly,
I'd take a different strategy: if we could modify the NATS configuration to do not use But, can we modify the NATS? |
I believe the NATS code in question is actually sysdig/falco code here. So we could modify that, yes. |
I have to look into that. |
I have looked again into this and @nibalizer reasons are enough to close this PR |
What type of PR is this?
/kind bug
/kind chart-release
Any specific area of the project related to this PR?
/area falco-chart
What this PR does / why we need it:
This PR fixes the duplicate
/var/run/falco
mounting problem (when both gRPC and nats are enabled) by prefixing mounting point inside the container with/host
for the gRPC Unix socket path.Note that at the host level the mounting point is still equal to one specified by the config (ie. without the
/host
prefix)Which issue(s) this PR fixes:
Fixes #54
Special notes for your reviewer:
Checklist