k3s/pkg/genericapiserver
Kubernetes Submit Queue aa935bb8a4 Merge pull request #33170 from soltysh/audit_improvements
Automatic merge from submit-queue

Remove closing audit log file and add error check when writing to audit

This picks the order fix from #33164. Additionally I've removed entirely closing the log file, since it didn't make sense where it was. I've also added error checks when actually writing to audit logs.

@sttts ptal

**1.4 justification:**

Risk: the code only runs if auditing is enabled with an apiserver flag. So the risk is low.
Rollback: nothing should depend on this
Cost: the auditing feature is broken because the impersonation filter is applied before and you might not see the proper user when using `--as` flag. Additionally no errors are logged if writing to audit fails.
2016-09-22 05:06:33 -07:00
..
authorizer Merge pull request #31491 from dims/fixes-issue-13598 2016-09-21 21:31:56 -07:00
openapi Move generated openAPI specs out of genericapiserver and make it configurable 2016-09-20 14:06:10 -07:00
options New command line flag - Set CA file for apiserver in-process client 2016-09-20 18:59:35 -04:00
routes Cleanup non-rest apiserver handlers 2016-09-15 13:22:45 +02:00
validation Allow secure access to apiserver from Admission Controllers 2016-09-20 10:42:21 -04:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
config.go Merge pull request #33170 from soltysh/audit_improvements 2016-09-22 05:06:33 -07:00
default_storage_factory_builder.go make --runtime-config=api/all=true|false work 2016-09-13 12:03:25 -07:00
default_storage_factory_builder_test.go make --runtime-config=api/all=true|false work 2016-09-13 12:03:25 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
genericapiserver.go Merge pull request #32876 from errordeveloper/more-cert-utils 2016-09-22 01:29:46 -07:00
genericapiserver_test.go move core resource registry packages 2016-09-21 10:11:50 -04:00
hooks.go separate RESTStorage by API group 2016-09-20 08:00:50 -04:00
resource_config.go make addition group registration easier 2016-07-25 08:23:24 -04:00
resource_config_test.go make addition group registration easier 2016-07-25 08:23:24 -04:00
resource_encoding_config.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
reststorage_interfaces.go separate RESTStorage by API group 2016-09-20 08:00:50 -04:00
server_run_options_test.go Remove DeprecatedStorageVersion 2016-09-06 16:52:12 -07:00
storage_factory.go Pin ingresses etcd prefix for 1.3 compatibility 2016-09-08 01:54:07 -04:00
storage_factory_test.go move new etcd storage into cacher 2016-08-12 18:40:20 -07:00
tunneler.go fix a spell mistake 2016-09-20 11:21:25 +08:00
tunneler_test.go Refactor util clock into it's own pkg 2016-07-28 02:29:04 -04:00