Skip to content

Commit

Permalink
Merge pull request #60237 from crassirostris/audit-use-buffered-backend
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue (batch tested with PRs 60542, 60237). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Audit use buffered backend

This is the next step after kubernetes/kubernetes#60076

This PR fixes kubernetes/kubernetes#53020, to address kubernetes/kubernetes#53006 later

In this PR buffered backend, introduced in kubernetes/kubernetes#60076, is used to replace ad-hoc solution for webhook and add an ability to enable buffering for the log audit backend.

```release-note
Log audit backend can now be configured to perform batching before writing events to disk.
```

/cc @sttts @tallclair @ericchiang @CaoShuFeng

Kubernetes-commit: 209cdd90489a5af11f2f124e592c57df82a3da28
  • Loading branch information
k8s-publishing-bot committed Mar 2, 2018
2 parents 4bbbd6d + 4ce3f0e commit 81cbe1d
Show file tree
Hide file tree
Showing 9 changed files with 595 additions and 486 deletions.
190 changes: 97 additions & 93 deletions Godeps/Godeps.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions vendor/k8s.io/apiserver/pkg/server/options/BUILD

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

183 changes: 127 additions & 56 deletions vendor/k8s.io/apiserver/pkg/server/options/audit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions vendor/k8s.io/apiserver/plugin/pkg/audit/buffered/BUILD

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 81cbe1d

Please sign in to comment.