mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 00:07:50 +00:00
Change the gce constant for session affinity to have the capitalization
shown in the documentation. Fixes #18347
This commit is contained in:
parent
f4d3f06067
commit
2ecf504a2e
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user