kubernetes/pkg
Claudiu Belu f335812719 unittests: Fixes unit tests for Windows (part 5)
Currently, there are some unit tests that are failing on Windows due to
various reasons:

- getHostDNSConfig is reading a resolv.conf file. However, we don't have
  that on Windows. Instead, we can get the DNS server list and the DNS
  suffix list from Windows itself.

On Windows, getHostDNSConfig will now return the host's DNS configuration
if the given resolverConfig is "Host". If it's not "Host" or an empty string,
an error will be returned.

Based on the code from kubernetes/test/images/agnhost/dns/dns_windows.go
2023-03-14 22:11:29 +00:00
..
api Merge pull request #115035 from xing-yang/update_plugin_warning 2023-01-13 12:08:26 -08:00
apis Merge pull request #114991 from TheOneTheOnlyJJ/skip-failing-unittests 2023-01-25 22:02:25 -08:00
auth Merge pull request #105598 from gy95/match 2022-01-05 09:22:38 -08:00
capabilities
client delete unused functions in pkg directory 2023-01-16 21:43:36 +08:00
cloudprovider Remove OpenStack cloud provider 2022-11-11 12:04:55 +01:00
cluster/ports e2e_node/{service,util}: use kubelet healthz port. 2022-04-22 16:14:31 -07:00
controller logging: fix names of keys 2023-01-23 14:24:29 +01:00
controlplane apiserver: update serialization version priority for policy API 2023-01-19 14:42:26 +08:00
credentialprovider delete unused functions in pkg directory 2023-01-16 21:43:36 +08:00
features Merge pull request #115163 from SataQiu/lock-AdvancedAuditing-gate-20230118 2023-01-18 07:12:41 -08:00
fieldpath Fix quotes that trip up gofmt 2022-07-26 13:14:04 -04:00
generated Merge pull request #114393 from danielvegamyhre/myfeature 2023-01-13 17:28:15 -08:00
kubeapiserver Merge pull request #114523 from zshihang/token 2023-01-18 07:12:33 -08:00
kubectl Refactor to simplify factory Validator 2022-12-11 18:20:28 -08:00
kubelet unittests: Fixes unit tests for Windows (part 5) 2023-03-14 22:11:29 +00:00
kubemark Merge pull request #114725 from danwinship/kube-proxy-startup-cleanup 2023-01-05 13:57:59 -08:00
printers kubectl: remove psp support 2023-01-06 17:07:02 +08:00
probe use custom dialer for http probes 2023-01-22 16:57:41 +00:00
proxy logging: fix names of keys 2023-01-23 14:24:29 +01:00
quota/v1 Use https links for k8s KEPs, issues, PRs, etc 2022-09-23 23:36:24 +00:00
registry delete unused functions in pkg directory 2023-01-16 21:43:36 +08:00
routes unittests: Fixes unit tests for Windows (part 3) 2022-10-21 19:25:48 +03:00
scheduler logging: fix names of keys 2023-01-23 14:24:29 +01:00
security delete unused functions in pkg directory 2023-01-16 21:43:36 +08:00
securitycontext delete unused functions in pkg directory 2023-01-16 21:43:36 +08:00
serviceaccount Update pkg/serviceaccount/legacy.go 2022-12-16 12:54:52 -08:00
util delete unused functions in pkg/util directory 2023-01-16 17:22:35 +08:00
volume logging: fix names of keys 2023-01-23 14:24:29 +01:00
windows/service Fix typo at pkg/windows/service/service.go:94 2022-03-24 07:25:33 -04:00
.import-restrictions
OWNERS Move root approvers to subdirs 2022-10-10 13:43:03 -04:00