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

Add privileged option for Auditbeat in Openshift #17637

Merged
merged 3 commits into from
Apr 10, 2020

Conversation

ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented Apr 9, 2020

What does this PR do?

This PR adds privileged: true in securityContext of Auditbeat Daemonset spec file so as to enable access to hostPath volumes.

Tested with minishift v1.34.2+83ebaab.

Why is it important?

Auditbeat is not able to start in Openshift without this option:

failed to open log file "/var/log/pods/9f2293ae-7a5e-11ea-8e28-08002709c05c/auditbeat/4.log": open /var/log/pods/9f2293ae-7a5e-11ea-8e28-08002709c05c/auditbeat/4.log: no such file or directory

Related to #17606 and #17516

cc: @jsoriano

Signed-off-by: chrismark <chrismarkou92@gmail.com>
@ChrsMark ChrsMark added review Auditbeat containers Related to containers use case [zube]: In Review configuration Team:Platforms Label for the Integrations - Platforms team labels Apr 9, 2020
@ChrsMark ChrsMark requested review from a team April 9, 2020 13:15
@ChrsMark ChrsMark self-assigned this Apr 9, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-platforms (Team:Platforms)

Signed-off-by: chrismark <chrismarkou92@gmail.com>
@ChrsMark ChrsMark merged commit a1278ac into elastic:master Apr 10, 2020
ChrsMark added a commit to ChrsMark/beats that referenced this pull request Apr 10, 2020
ChrsMark added a commit to ChrsMark/beats that referenced this pull request Apr 10, 2020
ChrsMark added a commit that referenced this pull request Apr 13, 2020
ChrsMark added a commit that referenced this pull request Apr 13, 2020
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auditbeat configuration containers Related to containers use case review Team:Platforms Label for the Integrations - Platforms team v7.7.0 v7.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants