apiserver/pkg/server
Dr. Stefan Schimanski 13a3aab581 apiserver/httplog: pretty up impersonation output
```
I0807 09:09:16.419239       1 httplog.go:132] "HTTP" verb="GET" URI="/apis/batch/v1?timeout=32s" latency="214.666µs" userAgent="kubernetes-provider/v0.0.0 (linux/arm64) kubernetes/$Format" audit-ID="948ef6b2-474d-45a7-ad5f-894ce93d05f7" srcIP="192.168.139.202:35542" apf_pl="exempt" apf_fs="exempt" apf_execution_time="129.5µs" resp=200 addedInfo=<

      &{kubernetes-admin  [system:masters system:authenticated] map[]} is acting as &{foo  [system:authenticated] map[]}
       >
```

to

```
I0807 09:09:16.419239       1 httplog.go:132] "HTTP" verb="GET" URI="/apis/batch/v1?timeout=32s" latency="214.666µs" userAgent="kubernetes-provider/v0.0.0 (linux/arm64) kubernetes/$Format" audit-ID="948ef6b2-474d-45a7-ad5f-894ce93d05f7" srcIP="192.168.139.202:35542" apf_pl="exempt" apf_fs="exempt" apf_execution_time="129.5µs" resp=200 addedInfo="kubernetes-admin[system:masters system:authenticated] is impersonating foo[system:authenticated]"
```

Signed-off-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>

Kubernetes-commit: 37730c07dd658ba585ffee3861780e18947ca534
2023-08-07 11:23:30 +02:00
..
dynamiccertificates api-machinery: stop using deprecated io/ioutil 2023-05-02 15:08:18 +02:00
egressselector api-machinery: stop using deprecated io/ioutil 2023-05-02 15:08:18 +02:00
filters
healthz
httplog apiserver/httplog: pretty up impersonation output 2023-08-07 11:23:30 +02:00
mux
options
resourceconfig
routes
storage api-machinery: stop using deprecated io/ioutil 2023-05-02 15:08:18 +02:00
config.go
config_selfclient.go
config_selfclient_test.go
config_test.go api-machinery: stop using deprecated io/ioutil 2023-05-02 15:08:18 +02:00
deleted_kinds.go
deleted_kinds_test.go
deprecated_insecure_serving.go
doc.go
genericapiserver.go
genericapiserver_graceful_termination_test.go api-machinery: stop using deprecated io/ioutil 2023-05-02 15:08:18 +02:00
genericapiserver_test.go api-machinery: stop using deprecated io/ioutil 2023-05-02 15:08:18 +02:00
graceful_shutdown_test.go api-machinery: stop using deprecated io/ioutil 2023-05-02 15:08:18 +02:00
handler.go
healthz.go
healthz_test.go
hooks.go
lifecycle_signals.go
plugins.go
secure_serving.go
signal.go
signal_posix.go
signal_windows.go