kubernetes/pkg/registry/core
Quan Tian 2b69daa960 Allow specifying ExternalTrafficPolicy for ClusterIP Services with ExternalIPs
When defining a ClusterIP Service, we can specify externalIP, and the
traffic policy of externalIP is subject to externalTrafficPolicy.
However, the policy can't be set when type is not NodePort or
LoadBalancer, and will default to Cluster when kube-proxy processes the
Service.

This commit updates the defaulting and validation of Service to allow
specifying ExternalTrafficPolicy for ClusterIP Services with
ExternalIPs.

Signed-off-by: Quan Tian <qtian@vmware.com>
2023-08-30 23:56:47 +08:00
..
componentstatus Fix the semantic meaning of etcd server within component statuses and metrics. 2023-07-20 15:08:41 +02:00
configmap Partition watchers by namespace/name scope 2023-02-27 20:38:11 +00:00
endpoint Remove GetSingularName for subresources 2022-11-18 12:21:19 +03:00
event Replace uses of diff.ObjectDiff with cmp.Diff 2023-04-12 08:46:12 -07:00
limitrange Add singular name for the rest of types 2022-11-18 12:21:13 +03:00
namespace Remove GetSingularName for subresources 2022-11-18 12:21:19 +03:00
node Remove proxyutil.IsProxyableIP / IsProxyableHostname 2023-07-01 08:49:38 -04:00
persistentvolume test: add coverage for pv status update and create strategy 2023-07-21 21:39:16 +02:00
persistentvolumeclaim api: introduce separate VolumeResourceRequirements struct 2023-08-21 15:31:28 +02:00
pod Merge pull request #118493 from kerthcet/cleanup/pod-status-reason 2023-08-30 01:40:47 -07:00
podtemplate Add singular name for the rest of types 2022-11-18 12:21:13 +03:00
rangeallocation hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
replicationcontroller Replace uses of diff.ObjectDiff with cmp.Diff 2023-04-12 08:46:12 -07:00
resourcequota Replace uses of diff.ObjectDiff with cmp.Diff 2023-04-12 08:46:12 -07:00
rest Fix receiver names in legacyProvider 2023-08-10 14:59:46 +08:00
secret Partition watchers by namespace/name scope 2023-02-27 20:38:11 +00:00
service Allow specifying ExternalTrafficPolicy for ClusterIP Services with ExternalIPs 2023-08-30 23:56:47 +08:00
serviceaccount kube-apiserver/corerest: remove redundant interface 2023-07-03 15:27:09 +02:00
OWNERS Cleanup OWNERS files (No Activity in the last year) 2021-12-15 10:34:02 -05:00