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

Cherry-pick #17637 to 7.7: Add privileged option for Auditbeat in Openshift #17662

Merged
merged 1 commit into from
Apr 13, 2020

Conversation

ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented Apr 10, 2020

Cherry-pick of PR #17637 to 7.7 branch. Original message:

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

@ChrsMark ChrsMark self-assigned this Apr 10, 2020
@ChrsMark ChrsMark added the Team:Platforms Label for the Integrations - Platforms team label Apr 10, 2020
@elasticmachine
Copy link
Collaborator

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

@ChrsMark ChrsMark merged commit 9a76485 into elastic:7.7 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
backport review Team:Platforms Label for the Integrations - Platforms team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants