mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 15:13:08 +00:00
Change the gce constant for session affinity to have the capitalization
shown in the documentation. Fixes #18347
This commit is contained in:
@@ -50,7 +50,7 @@ const (
|
|||||||
k8sNodeRouteTag = "k8s-node-route"
|
k8sNodeRouteTag = "k8s-node-route"
|
||||||
|
|
||||||
// AffinityTypeNone - no session affinity.
|
// AffinityTypeNone - no session affinity.
|
||||||
gceAffinityTypeNone = "None"
|
gceAffinityTypeNone = "NONE"
|
||||||
// AffinityTypeClientIP - affinity based on Client IP.
|
// AffinityTypeClientIP - affinity based on Client IP.
|
||||||
gceAffinityTypeClientIP = "CLIENT_IP"
|
gceAffinityTypeClientIP = "CLIENT_IP"
|
||||||
// AffinityTypeClientIPProto - affinity based on Client IP and port.
|
// AffinityTypeClientIPProto - affinity based on Client IP and port.
|
||||||
|
Reference in New Issue
Block a user