mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Remove dynamic log sanitization fields from Kubelet config validation
This commit is contained in:
parent
55a1936f58
commit
dbd50d9f50
@ -218,7 +218,6 @@ var (
|
||||
"Logging.Options.JSON.InfoBufferSize.Quantity.i.value",
|
||||
"Logging.Options.JSON.InfoBufferSize.Quantity.s",
|
||||
"Logging.Options.JSON.SplitStream",
|
||||
"Logging.Sanitization",
|
||||
"Logging.VModule[*].FilePattern",
|
||||
"Logging.VModule[*].Verbosity",
|
||||
"Logging.Verbosity",
|
||||
|
@ -235,7 +235,6 @@ func TestSetDefaultsKubeletConfiguration(t *testing.T) {
|
||||
Logging: componentbaseconfigv1alpha1.LoggingConfiguration{
|
||||
Format: "",
|
||||
FlushFrequency: 5 * time.Second,
|
||||
Sanitization: false,
|
||||
},
|
||||
EnableSystemLogHandler: utilpointer.Bool(false),
|
||||
ShutdownGracePeriod: zeroDuration,
|
||||
@ -333,7 +332,6 @@ func TestSetDefaultsKubeletConfiguration(t *testing.T) {
|
||||
Logging: componentbaseconfigv1alpha1.LoggingConfiguration{
|
||||
Format: "text",
|
||||
FlushFrequency: 5 * time.Second,
|
||||
Sanitization: false,
|
||||
},
|
||||
EnableSystemLogHandler: utilpointer.Bool(false),
|
||||
ReservedMemory: []v1beta1.MemoryReservation{},
|
||||
@ -476,7 +474,6 @@ func TestSetDefaultsKubeletConfiguration(t *testing.T) {
|
||||
Logging: componentbaseconfigv1alpha1.LoggingConfiguration{
|
||||
Format: "json",
|
||||
FlushFrequency: 5 * time.Second,
|
||||
Sanitization: true,
|
||||
},
|
||||
EnableSystemLogHandler: utilpointer.Bool(true),
|
||||
ShutdownGracePeriod: metav1.Duration{Duration: 60 * time.Second},
|
||||
@ -623,7 +620,6 @@ func TestSetDefaultsKubeletConfiguration(t *testing.T) {
|
||||
Logging: componentbaseconfigv1alpha1.LoggingConfiguration{
|
||||
Format: "json",
|
||||
FlushFrequency: 5 * time.Second,
|
||||
Sanitization: true,
|
||||
},
|
||||
EnableSystemLogHandler: utilpointer.Bool(true),
|
||||
ShutdownGracePeriod: metav1.Duration{Duration: 60 * time.Second},
|
||||
|
Loading…
Reference in New Issue
Block a user