-
Notifications
You must be signed in to change notification settings - Fork 876
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
correct k8s audit endpoint #1261
Conversation
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
cc @maxgio92 @nibalizer FYI |
/lgtm |
looks like we will need to fix this file as well: https://github.com/falcosecurity/evolution/blob/abcf585fd7c9976a95d90dbd9ffcfdb9324f4855/examples/k8s_audit_config/webhook-config.yaml.in#L6 |
LGTM label has been added. Git tree hash: 351960acce30df3bcd417c6e3f7be7cf273332ed
|
1 similar comment
LGTM label has been added. Git tree hash: 351960acce30df3bcd417c6e3f7be7cf273332ed
|
…udit` See falcosecurity/falco#1261 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
…udit` See falcosecurity/falco#1261 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Kaizhe, leodido The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I just noticed that this is not complete. I'm folllowing up with a PR. |
…udit` See falcosecurity/falco#1261 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
…udit` See falcosecurity/falco#1261 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
…udit` See falcosecurity/falco#1261 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
…udit` See falcosecurity/falco#1261 Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area engine
What this PR does / why we need it:
This PR changes the value of
webserver.k8s_audit_endpoint
from/k8s_audit
to/k8s-audit
, because a path that contains an underscore (_
) won't work when the audit sink webhook is configured with a service reference (instead of an URL).To reproduce the issue just
kubectl apply
the following example:Then you get the following error:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
/k8s-audit
) since the initial k8s audit support (11 months ago, see here) and the latest version still has the correct endpointk8s-audit-only
example resources.Does this PR introduce a user-facing change?: