Merge pull request #103843 from Arkessler/patch-4

Update doc description for --audit-log-maxbackup

Kubernetes-commit: 488292100207b246bdb658d68742eca3cb11cf4a
This commit is contained in:
Kubernetes Publisher 2021-08-05 01:44:43 -07:00
commit 347a3d0ee4
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ func (o *AuditLogOptions) AddFlags(fs *pflag.FlagSet) {
fs.IntVar(&o.MaxAge, "audit-log-maxage", o.MaxAge, fs.IntVar(&o.MaxAge, "audit-log-maxage", o.MaxAge,
"The maximum number of days to retain old audit log files based on the timestamp encoded in their filename.") "The maximum number of days to retain old audit log files based on the timestamp encoded in their filename.")
fs.IntVar(&o.MaxBackups, "audit-log-maxbackup", o.MaxBackups, fs.IntVar(&o.MaxBackups, "audit-log-maxbackup", o.MaxBackups,
"The maximum number of old audit log files to retain.") "The maximum number of old audit log files to retain. Setting a value of 0 will mean there's no restriction on the number of files.")
fs.IntVar(&o.MaxSize, "audit-log-maxsize", o.MaxSize, fs.IntVar(&o.MaxSize, "audit-log-maxsize", o.MaxSize,
"The maximum size in megabytes of the audit log file before it gets rotated.") "The maximum size in megabytes of the audit log file before it gets rotated.")
fs.StringVar(&o.Format, "audit-log-format", o.Format, fs.StringVar(&o.Format, "audit-log-format", o.Format,