Skip to content

Commit

Permalink
kube-apiserver auditlog values were not given microshift's defaults a…
Browse files Browse the repository at this point in the history
…nd thus did not produce behavior described by microshift documentation regarding log retention settings. default values are not specified correctly

Signed-off-by: Jon Cope <[email protected]>
  • Loading branch information
copejon committed May 16, 2024
1 parent 7d0912b commit ae6bb09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@ func (c *Config) fillDefaults() error {
URL: "https://localhost:6443",
Port: 6443,
}
c.ApiServer.AuditLog.Profile = "Default"
c.ApiServer.AuditLog = AuditLog{
MaxFileAge: 10,
MaxFiles: 10,
MaxFileSize: 200,
Profile: "Default",
}
c.Node = Node{
HostnameOverride: hostname,
NodeIP: nodeIP,
Expand Down

0 comments on commit ae6bb09

Please sign in to comment.