You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crd/restatedeployments.yaml
+3-8Lines changed: 3 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -108,15 +108,10 @@ spec:
108
108
description: Optional path to append to the Service url when registering with Restate. If not provided, the service will be registered at the root path "/".
109
109
nullable: true
110
110
type: string
111
-
options:
112
-
description: Optional configuration options for service registration
111
+
useHttp11:
112
+
description: Force the use of HTTP/1.1 when registering with Restate
113
113
nullable: true
114
-
properties:
115
-
useHttp1:
116
-
description: Force the use of HTTP/1.1 when registering with Restate
// if you change the HTTP version option, it creates a new deployment, which means we want a new replicaset too to keep things 1:1
124
-
ifletSome(options) = &rsd.spec.restate.options{
125
-
ifletSome(use_http1) = options.use_http1{
126
-
hasher.write(&[if use_http1 {1}else{0}]);
127
-
}
123
+
// It's possible that changing this flag will create a new deployment id; by making it part of the replicaset name we guarantee that deployments and replicasets stay 1:1
0 commit comments