mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +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.i.value",
|
||||||
"Logging.Options.JSON.InfoBufferSize.Quantity.s",
|
"Logging.Options.JSON.InfoBufferSize.Quantity.s",
|
||||||
"Logging.Options.JSON.SplitStream",
|
"Logging.Options.JSON.SplitStream",
|
||||||
"Logging.Sanitization",
|
|
||||||
"Logging.VModule[*].FilePattern",
|
"Logging.VModule[*].FilePattern",
|
||||||
"Logging.VModule[*].Verbosity",
|
"Logging.VModule[*].Verbosity",
|
||||||
"Logging.Verbosity",
|
"Logging.Verbosity",
|
||||||
|
@ -235,7 +235,6 @@ func TestSetDefaultsKubeletConfiguration(t *testing.T) {
|
|||||||
Logging: componentbaseconfigv1alpha1.LoggingConfiguration{
|
Logging: componentbaseconfigv1alpha1.LoggingConfiguration{
|
||||||
Format: "",
|
Format: "",
|
||||||
FlushFrequency: 5 * time.Second,
|
FlushFrequency: 5 * time.Second,
|
||||||
Sanitization: false,
|
|
||||||
},
|
},
|
||||||
EnableSystemLogHandler: utilpointer.Bool(false),
|
EnableSystemLogHandler: utilpointer.Bool(false),
|
||||||
ShutdownGracePeriod: zeroDuration,
|
ShutdownGracePeriod: zeroDuration,
|
||||||
@ -333,7 +332,6 @@ func TestSetDefaultsKubeletConfiguration(t *testing.T) {
|
|||||||
Logging: componentbaseconfigv1alpha1.LoggingConfiguration{
|
Logging: componentbaseconfigv1alpha1.LoggingConfiguration{
|
||||||
Format: "text",
|
Format: "text",
|
||||||
FlushFrequency: 5 * time.Second,
|
FlushFrequency: 5 * time.Second,
|
||||||
Sanitization: false,
|
|
||||||
},
|
},
|
||||||
EnableSystemLogHandler: utilpointer.Bool(false),
|
EnableSystemLogHandler: utilpointer.Bool(false),
|
||||||
ReservedMemory: []v1beta1.MemoryReservation{},
|
ReservedMemory: []v1beta1.MemoryReservation{},
|
||||||
@ -476,7 +474,6 @@ func TestSetDefaultsKubeletConfiguration(t *testing.T) {
|
|||||||
Logging: componentbaseconfigv1alpha1.LoggingConfiguration{
|
Logging: componentbaseconfigv1alpha1.LoggingConfiguration{
|
||||||
Format: "json",
|
Format: "json",
|
||||||
FlushFrequency: 5 * time.Second,
|
FlushFrequency: 5 * time.Second,
|
||||||
Sanitization: true,
|
|
||||||
},
|
},
|
||||||
EnableSystemLogHandler: utilpointer.Bool(true),
|
EnableSystemLogHandler: utilpointer.Bool(true),
|
||||||
ShutdownGracePeriod: metav1.Duration{Duration: 60 * time.Second},
|
ShutdownGracePeriod: metav1.Duration{Duration: 60 * time.Second},
|
||||||
@ -623,7 +620,6 @@ func TestSetDefaultsKubeletConfiguration(t *testing.T) {
|
|||||||
Logging: componentbaseconfigv1alpha1.LoggingConfiguration{
|
Logging: componentbaseconfigv1alpha1.LoggingConfiguration{
|
||||||
Format: "json",
|
Format: "json",
|
||||||
FlushFrequency: 5 * time.Second,
|
FlushFrequency: 5 * time.Second,
|
||||||
Sanitization: true,
|
|
||||||
},
|
},
|
||||||
EnableSystemLogHandler: utilpointer.Bool(true),
|
EnableSystemLogHandler: utilpointer.Bool(true),
|
||||||
ShutdownGracePeriod: metav1.Duration{Duration: 60 * time.Second},
|
ShutdownGracePeriod: metav1.Duration{Duration: 60 * time.Second},
|
||||||
|
Loading…
Reference in New Issue
Block a user