set --audit-log-format default to json

Updates: https://github.com/kubernetes/kubernetes/issues/48561

Kubernetes-commit: 130f5d10adf13492f3435ab85a50d357a6831f6e
This commit is contained in:
Cao Shufeng 2017-08-20 11:27:34 +08:00 committed by Kubernetes Publisher
parent 589250da0a
commit e74487ab1a
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ type AuditWebhookOptions struct {
func NewAuditOptions() *AuditOptions {
return &AuditOptions{
WebhookOptions: AuditWebhookOptions{Mode: pluginwebhook.ModeBatch},
LogOptions: AuditLogOptions{Format: pluginlog.FormatLegacy},
LogOptions: AuditLogOptions{Format: pluginlog.FormatJson},
}
}