Merge pull request #111992 from Abirdcfly/20220824
cleanup: delete unused AuditDynamicOptions in apiserver Kubernetes-commit: c1154d838fec2d8a2b14cfd48ab5a4e2654d619a
This commit is contained in:
commit
44fa6d28d5
4
go.mod
4
go.mod
|
|
@ -43,7 +43,7 @@ require (
|
|||
gopkg.in/square/go-jose.v2 v2.6.0
|
||||
k8s.io/api v0.0.0-20230607181819-dc63998f1312
|
||||
k8s.io/apimachinery v0.0.0-20230607181606-6b1428efc733
|
||||
k8s.io/client-go v0.0.0-20230607182136-5a019202120a
|
||||
k8s.io/client-go v0.0.0-20230612210841-92512ee2b8cf
|
||||
k8s.io/component-base v0.0.0-20230607182916-74586d5a138f
|
||||
k8s.io/klog/v2 v2.100.1
|
||||
k8s.io/kms v0.0.0-20230607183122-64211556b6e8
|
||||
|
|
@ -127,7 +127,7 @@ require (
|
|||
replace (
|
||||
k8s.io/api => k8s.io/api v0.0.0-20230607181819-dc63998f1312
|
||||
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20230607181606-6b1428efc733
|
||||
k8s.io/client-go => k8s.io/client-go v0.0.0-20230607182136-5a019202120a
|
||||
k8s.io/client-go => k8s.io/client-go v0.0.0-20230612210841-92512ee2b8cf
|
||||
k8s.io/component-base => k8s.io/component-base v0.0.0-20230607182916-74586d5a138f
|
||||
k8s.io/kms => k8s.io/kms v0.0.0-20230607183122-64211556b6e8
|
||||
)
|
||||
|
|
|
|||
4
go.sum
4
go.sum
|
|
@ -747,8 +747,8 @@ k8s.io/api v0.0.0-20230607181819-dc63998f1312 h1:S+wKNwEzqnXbRV74rhkkrrcghyG7X/J
|
|||
k8s.io/api v0.0.0-20230607181819-dc63998f1312/go.mod h1:gBiWrvu3BxEk7x/ScFtXrG2+XrZjGkvyQrU0evLeqKA=
|
||||
k8s.io/apimachinery v0.0.0-20230607181606-6b1428efc733 h1:OFsszAwEqxM6VdYebpdA4Ej1pE/SC6XF68oPTkMoOkA=
|
||||
k8s.io/apimachinery v0.0.0-20230607181606-6b1428efc733/go.mod h1:yLwDAEEdvM6sn/hdHLSdNPaP+w2iEDBApMp2VMR2Q14=
|
||||
k8s.io/client-go v0.0.0-20230607182136-5a019202120a h1:ru1QFvfwWRtCJNewIPZ2CFVAszM0MgzIjZ2WN6qJaq4=
|
||||
k8s.io/client-go v0.0.0-20230607182136-5a019202120a/go.mod h1:iqGRyLQogLthg09h2YuE+CaqBJ0cgSD3NO5D4mHgJmA=
|
||||
k8s.io/client-go v0.0.0-20230612210841-92512ee2b8cf h1:idrWa1mrYAlgzJyMySeQZ1BiLijAbFDm/iQjAGlxetM=
|
||||
k8s.io/client-go v0.0.0-20230612210841-92512ee2b8cf/go.mod h1:iqGRyLQogLthg09h2YuE+CaqBJ0cgSD3NO5D4mHgJmA=
|
||||
k8s.io/component-base v0.0.0-20230607182916-74586d5a138f h1:H/bi/bOBSdzBRPtb8W3kAcvlSo00Q0/Akfw7vgm88AU=
|
||||
k8s.io/component-base v0.0.0-20230607182916-74586d5a138f/go.mod h1:JXhKuwiPjR+H2gm4FO9gT+PGVYhE3vrvRw5AqzfPEDg=
|
||||
k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg=
|
||||
|
|
|
|||
|
|
@ -142,16 +142,6 @@ type AuditWebhookOptions struct {
|
|||
GroupVersionString string
|
||||
}
|
||||
|
||||
// AuditDynamicOptions control the configuration of dynamic backends for audit events
|
||||
type AuditDynamicOptions struct {
|
||||
// Enabled tells whether the dynamic audit capability is enabled.
|
||||
Enabled bool
|
||||
|
||||
// Configuration for batching backend. This is currently only used as an override
|
||||
// for integration tests
|
||||
BatchConfig *pluginbuffered.BatchConfig
|
||||
}
|
||||
|
||||
func NewAuditOptions() *AuditOptions {
|
||||
return &AuditOptions{
|
||||
WebhookOptions: AuditWebhookOptions{
|
||||
|
|
|
|||
Loading…
Reference in New Issue