- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for PodDNSConfigOption (0.18 sec)
-
pkg/kubelet/network/dns/dns_test.go
} func TestMergeDNSOptions(t *testing.T) { testOptionValue := "3" testCases := []struct { desc string existingDNSConfigOptions []string dnsConfigOptions []v1.PodDNSConfigOption expectedOptions []string }{ { desc: "Empty dnsConfigOptions", existingDNSConfigOptions: []string{"ndots:5", "debug"}, dnsConfigOptions: nil,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 25.6K bytes - Viewed (0) -
pkg/kubelet/network/dns/dns.go
return podDNSCluster, fmt.Errorf("invalid DNSPolicy=%v", dnsPolicy) } // mergeDNSOptions merges DNS options. If duplicated, entries given by PodDNSConfigOption will // overwrite the existing ones. func mergeDNSOptions(existingDNSConfigOptions []string, dnsConfigOptions []v1.PodDNSConfigOption) []string { optionsMap := make(map[string]string) for _, op := range existingDNSConfigOptions { if index := strings.Index(op, ":"); index != -1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 04 11:37:10 UTC 2023 - 16.1K bytes - Viewed (0)