Repository navigation
v3.1.1
Restate Operator v3.1.1 Release Notes
See the v3.1.0 release notes for changes prior to this release.
Highlights
- Security: compromised eMudhra intermediate CAs are no longer trusted. The same fix shipped in 2.7.2 and 2.8.2; this brings it to the 3.x line.
- Helm: the old operator pod is stopped before the new one is created. Two operator versions now overlap during an upgrade only while the old one finishes its in-flight reconciles.
Table of Contents
Bug Fixes
Security: distrust compromised eMudhra intermediates
Eight eMudhra intermediate CA keys were compromised (RUSTSEC-2026-0381, RUSTSEC-2026-0382). They are cross-signed under Sectigo's AAA Certificate Services root, so removing the emSign root alone does not block them. rustls-webpki 0.103.16 blocks all eight by public key, whatever the root.
| Crate | From | To |
|---|---|---|
rustls-webpki |
0.103.13 | 0.103.16 |
webpki-roots |
1.0.6 | 1.0.10 |
rustls |
0.23.37 | 0.23.46 |
h2 |
0.4.13 | 0.4.20 |
anyhow |
1.0.102 | 1.0.104 |
No configuration change and no CRD change.
Related: #222 (2.7.2: #223, 2.8.2: #224).
Security: no request decompression in the operator's web server
The operator's web server (/health, /ready, /metrics, /) never reads a request body, but actix-web's default features linked in request decompression for Brotli, gzip and zstd. They are now turned off, so Brotli decoder advisories such as CVE-2026-111497 no longer apply to the binary. The operator was not exposed to that bug before either, because no handler reads a body. The lockfile change only removes packages.
Related: #228.
Helm: old and new operator pods barely overlap during an upgrade
What Changed
The chart now sets the operator Deployment's update strategy, configurable as strategy:
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 0
maxUnavailable: 1Before, the Deployment used Kubernetes' default (25% surge), which starts the new operator pod while the old one is still running.
Why This Matters
The operator has no leader election. During an upgrade both versions reconciled the same resources for a while. When the two versions render a resource differently, each force-applies its own version in turn. Upgrading from 2.x to 3.x does this to every RestateCluster with spec.security.requestSigningPrivateKey, because 3.0 renamed the environment variable that points Restate at the key. In a test cluster the StatefulSet was rewritten about 200 times and the Restate pod restarted three times instead of once.
With maxSurge: 0 the old pod receives SIGTERM first and stops starting new reconciles. Kubernetes can create the new pod while the old one is still terminating, so the two can still overlap while the old pod finishes the reconciles it had in flight. That bounds the conflict to those last writes: each resource the old pod was reconciling at that moment can be rewritten once more by the old version and then corrected by the new one, instead of flipping back and forth for the whole overlap. In our tests the old pod had exited before the new one was scheduled, and the StatefulSet changed exactly once.
Impact on Users
- Upgrading to this chart already uses the new strategy, including from 2.x.
- An operator upgrade now has a few seconds in which no operator pod runs. Nothing is reconciled during that time; the new pod catches up when it starts.
- This is not a guarantee of a single writer. A reconcile that is slow when SIGTERM arrives, such as one waiting on the Restate admin API, can still overlap with the new pod. Only leader election would rule that out.
replicaCountabove 1 is still not supported: without leader election, replicas reconcile concurrently.
Migration Guidance
None needed. Recreate waits for the old pod to exit before creating the new one. To use it, set strategy.type=Recreate and strategy.rollingUpdate=null on a fresh install. An existing Deployment cannot switch to Recreate through helm upgrade with server-side apply (the Helm 4 default): the API server keeps the defaulted rollingUpdate and rejects the change.