mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-07 22:25:03 +00:00
Update deps to Kube 1.11.3
This updates the dependencies to Kube 1.11.3 to pull in a fix allowing requestheader auth to be used without normal client auth (which makes things work on clusters that don't enable client auth normally, like EKS).
This commit is contained in:
parent
262493780f
commit
c916572aca
474 changed files with 40067 additions and 18326 deletions
6
vendor/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate.go
generated
vendored
6
vendor/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate.go
generated
vendored
|
|
@ -62,6 +62,7 @@ type backend struct {
|
|||
var _ audit.Backend = &backend{}
|
||||
|
||||
// NewBackend returns a new truncating backend, using configuration passed in the parameters.
|
||||
// Truncate backend automatically runs and shut downs the delegate backend.
|
||||
func NewBackend(delegateBackend audit.Backend, config Config, groupVersion schema.GroupVersion) audit.Backend {
|
||||
return &backend{
|
||||
delegateBackend: delegateBackend,
|
||||
|
|
@ -128,12 +129,11 @@ func truncate(e *auditinternal.Event) *auditinternal.Event {
|
|||
}
|
||||
|
||||
func (b *backend) Run(stopCh <-chan struct{}) error {
|
||||
// Nothing to do here
|
||||
return nil
|
||||
return b.delegateBackend.Run(stopCh)
|
||||
}
|
||||
|
||||
func (b *backend) Shutdown() {
|
||||
// Nothing to do here
|
||||
b.delegateBackend.Shutdown()
|
||||
}
|
||||
|
||||
func (b *backend) calcSize(e *auditinternal.Event) (int64, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue