Skip to content

Commit 3a44356

Browse files
update ttl docs (#2931)
* update ttl docs Signed-off-by: Rama Chavali <rama.rao@salesforce.com> * update ttl docs Signed-off-by: Rama Chavali <rama.rao@salesforce.com> --------- Signed-off-by: Rama Chavali <rama.rao@salesforce.com>
1 parent 405bf0a commit 3a44356

File tree

6 files changed

+408
-415
lines changed

6 files changed

+408
-415
lines changed

networking/v1alpha3/destination_rule.pb.go

Lines changed: 195 additions & 194 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

networking/v1alpha3/destination_rule.pb.html

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

networking/v1alpha3/destination_rule.proto

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -591,15 +591,16 @@ message LoadBalancerSettings {
591591
uint64 table_size = 1;
592592
};
593593
// Describes a HTTP cookie that will be used as the hash key for the
594-
// Consistent Hash load balancer. If the cookie is not present, it will
595-
// be generated.
594+
// Consistent Hash load balancer.
596595
message HTTPCookie {
597596
// Name of the cookie.
598597
string name = 1 [(google.api.field_behavior) = REQUIRED];
599598
// Path to set for the cookie.
600599
string path = 2;
601-
// Lifetime of the cookie.
602-
google.protobuf.Duration ttl = 3 [(google.api.field_behavior) = REQUIRED];
600+
// Lifetime of the cookie. If specified, a cookie with the TTL will be
601+
// generated if the cookie is not present. If the TTL is present and zero,
602+
// the generated cookie will be a session cookie.
603+
google.protobuf.Duration ttl = 3;
603604
};
604605

605606
// The hash key to use.

0 commit comments

Comments
 (0)