Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Mount audit log file to disk #3335

Merged
merged 1 commit into from
Jul 13, 2018
Merged

Mount audit log file to disk #3335

merged 1 commit into from
Jul 13, 2018

Conversation

kichristensen
Copy link
Contributor

What this PR does / why we need it:
Audit logging in enabled by default in Kubernetes 1.8 and above, but you cannot get to the log file easy, because it is only accessible within the kube-apiserver container. This PR puts the file on the host instead.

Special notes for your reviewer:
The path of the audit log is changed, because I don't think it will be a good idea to mount the hosts /var/log to the container.

If applicable:

  • documentation
  • unit tests
  • tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:

@acs-bot
Copy link

acs-bot commented Jun 21, 2018

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: kichristensen
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: cecilerobertmichon

Assign the PR to them by writing /assign @cecilerobertmichon in a comment when ready.

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kichristensen
Copy link
Contributor Author

/assign @CecileRobertMichon

@kichristensen
Copy link
Contributor Author

@CecileRobertMichon what do you think about this?

@codecov
Copy link

codecov bot commented Jul 11, 2018

Codecov Report

Merging #3335 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master   #3335   +/-   ##
======================================
  Coverage      53%     53%           
======================================
  Files         104     104           
  Lines       15682   15682           
======================================
  Hits         8313    8313           
  Misses       6627    6627           
  Partials      742     742

Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@CecileRobertMichon CecileRobertMichon merged commit bdebc29 into Azure:master Jul 13, 2018
julienstroheker pushed a commit to julienstroheker/acs-engine that referenced this pull request Jul 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants