Remove dynamic log sanitization fields from Kubelet config validation

This commit is contained in:
Elana Hashman 2021-12-02 11:02:20 -08:00
parent 55a1936f58
commit dbd50d9f50
No known key found for this signature in database
GPG Key ID: D37F7B2A20B48FA0
2 changed files with 0 additions and 5 deletions

View File

@ -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",

View File

@ -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},