We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae0a813 commit 8375163Copy full SHA for 8375163
pkg/kubelet/apis/config/validation/validation_test.go
@@ -569,6 +569,13 @@ func TestValidateKubeletConfiguration(t *testing.T) {
569
return conf
570
},
571
errMsg: "invalid configuration: containerLogMonitorInterval must be a positive time duration greater than or equal to 3s",
572
+ }, {
573
+ name: "pod logs path must be not empty",
574
+ configure: func(config *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
575
+ config.PodLogsDir = ""
576
+ return config
577
+ },
578
+ errMsg: "invalid configuration: podLogsDir was not specified",
579
}, {
580
name: "pod logs path must be absolute",
581
configure: func(config *kubeletconfig.KubeletConfiguration) *kubeletconfig.KubeletConfiguration {
0 commit comments