v1.14.3
版本发布时间: 2024-09-14 05:40:34
dapr/dapr最新发布版本:v1.13.6-rc.2(2024-09-28 02:00:05)
Dapr 1.14.3
⚠️ When upgrading from Dapr versions v1.14.0
, v1.14.1
, or v1.14.2
to v1.14.3
, the upgrade fails with the following error:
Error: UPGRADE FAILED: cannot patch "dapr-scheduler-server" with kind StatefulSet: StatefulSet.apps "dapr-scheduler-server" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden
The workaround for the user is to Delete the Scheduler StatefulSet before re-running the upgrade with the new storage size, but we recommend skipping this version and upgrading to v1.14.4
or later instead.
This update includes bug fixes:
- Fix AWS Secrets Manager and Parameter Store components when working with more granular IAM permissions
- Fix Scheduler embedded ETCD database running out of memory
- Fix the Job HTTP Trigger Request body base64 encoding values
- Change the HTTP Job API request body data field to accept JSON strings
- Add securityContext/runAsGroup and securityContext/runAsUser as sidecar injector options
Fix AWS Secrets Manager and Parameter Store components when working with more granular IAM permissions
Problem
When using AWS Secrets Manager and Parameter Store daprd would fail on initialisation if the IAM policy would only allow access for certain secrets.
Impact
Dapr wouldn't be able to start if the IAM policy would only allow access to certain secrets.
Root cause
On initialisation daprd would try to verify access to the AWS Secrets Manager and Parameter Store services by trying to read a dummy secret which would fail if the IAM policy in place would only allow access to certain secrets.
Solution
The additional check was removed.
Fix Scheduler embedded ETCD database running out of memory
Problem
Creating a reasonable number of Jobs or Actor Reminders (also through workflows) with the Scheduler, would case the embedded Scheduler to run out of memory.
Impact
The Jobs, Actor Reminders, and Workflow APIs would become unavailable.
Root cause
The default storage size of the embedded ETCD database was too small, as well as the purging of deleted data was not sufficiently aggressive enough.
Solution
Increase the default storage size of the embedded ETCD database from 2Gi to 16Gi, increase the frequency of purging of deleted data. More options are now exposed on the Scheduler to tune these values further.
Fix the Job HTTP Trigger Request body base64 encoding values
Problem
When handling a Job trigger in a HTTP application, the value content of the request body could be base64 encoded, causing application serialization errors.
Impact
The Job trigger would not be processed by the application correctly.
Root cause
The Job trigger was erroneously encoding the request body value content when sending the request to the applicaiton.
Solution
daprd now sends the request body value content as a standard JSON string.
Change the HTTP Job API request body data field to accept JSON strings
Problem
The HTTP Job API request body data field previously accepted fully qualified protobuf messages.
Impact
The HTTP API was less approachable for users who wanted to test and develop with the HTTP API, often times using curl or Postman etc.
Root cause
The HTTP Job API used the same request schema as the gRPC API.
Solution
The HTTP Job API now accepts JSON strings for the request body data field.
Add securityContext/runAsGroup and securityContext/runAsUser as sidecar injector options
Problem
daprd sidecar is missing the securityContext/runAsGroup
and/or securityContext/runAsUser
settings.
Impact
daprd sidecar was not passing security checks by some policy enforcement solutions and could not run.
Root cause
Missing the ability to set the securityContext/runAsGroup
and/or securityContext/runAsUser
settings.
Solution
Added the dapr_sidecar_injector.sidecarRunAsUser
and/or dapr_sidecar_injector.sidecarRunAsGroup
helm chart settings.
1、 daprd_darwin_amd64.tar.gz 50.66MB
2、 daprd_darwin_amd64.tar.gz.sha256 92B
3、 daprd_darwin_arm64.tar.gz 44.58MB
4、 daprd_darwin_arm64.tar.gz.sha256 92B
5、 daprd_linux_amd64-stablecomponents.tar.gz 31.34MB
6、 daprd_linux_amd64-stablecomponents.tar.gz.sha256 108B
7、 daprd_linux_amd64.tar.gz 49.78MB
8、 daprd_linux_amd64.tar.gz.sha256 91B
9、 daprd_linux_arm-stablecomponents.tar.gz 29.15MB
10、 daprd_linux_arm-stablecomponents.tar.gz.sha256 106B
11、 daprd_linux_arm.tar.gz 42.15MB
12、 daprd_linux_arm.tar.gz.sha256 89B
13、 daprd_linux_arm64-stablecomponents.tar.gz 28.55MB
14、 daprd_linux_arm64-stablecomponents.tar.gz.sha256 108B
15、 daprd_linux_arm64.tar.gz 42.49MB
16、 daprd_linux_arm64.tar.gz.sha256 91B
17、 daprd_windows_amd64.zip 45.96MB
18、 daprd_windows_amd64.zip.sha256 90B
19、 grafana-actor-dashboard.json 20.55KB
20、 grafana-actor-dashboard.json.sha256 95B
21、 grafana-sidecar-dashboard.json 62.37KB
22、 grafana-sidecar-dashboard.json.sha256 97B
23、 grafana-system-services-dashboard.json 30.93KB
24、 grafana-system-services-dashboard.json.sha256 105B
25、 injector_darwin_amd64.tar.gz 12.56MB
26、 injector_darwin_amd64.tar.gz.sha256 95B
27、 injector_darwin_arm64.tar.gz 11.62MB
28、 injector_darwin_arm64.tar.gz.sha256 95B
29、 injector_linux_amd64.tar.gz 12.32MB
30、 injector_linux_amd64.tar.gz.sha256 94B
31、 injector_linux_arm.tar.gz 11.37MB
32、 injector_linux_arm.tar.gz.sha256 92B
33、 injector_linux_arm64.tar.gz 11.07MB
34、 injector_linux_arm64.tar.gz.sha256 94B
35、 injector_windows_amd64.zip 12.28MB
36、 injector_windows_amd64.zip.sha256 93B
37、 operator_darwin_amd64.tar.gz 13.29MB
38、 operator_darwin_amd64.tar.gz.sha256 95B
39、 operator_darwin_arm64.tar.gz 12.27MB
40、 operator_darwin_arm64.tar.gz.sha256 95B
41、 operator_linux_amd64.tar.gz 13.06MB
42、 operator_linux_amd64.tar.gz.sha256 94B
43、 operator_linux_arm.tar.gz 12.08MB
44、 operator_linux_arm.tar.gz.sha256 92B
45、 operator_linux_arm64.tar.gz 11.72MB
46、 operator_linux_arm64.tar.gz.sha256 94B
47、 operator_windows_amd64.zip 12.99MB
48、 operator_windows_amd64.zip.sha256 93B
49、 placement_darwin_amd64.tar.gz 11.71MB
50、 placement_darwin_amd64.tar.gz.sha256 96B
51、 placement_darwin_arm64.tar.gz 10.82MB
52、 placement_darwin_arm64.tar.gz.sha256 96B
53、 placement_linux_amd64.tar.gz 11.51MB
54、 placement_linux_amd64.tar.gz.sha256 95B
55、 placement_linux_arm.tar.gz 10.68MB
56、 placement_linux_arm.tar.gz.sha256 93B
57、 placement_linux_arm64.tar.gz 10.34MB
58、 placement_linux_arm64.tar.gz.sha256 95B
59、 placement_windows_amd64.zip 11.46MB
60、 placement_windows_amd64.zip.sha256 94B
61、 scheduler_darwin_amd64.tar.gz 13.97MB
62、 scheduler_darwin_amd64.tar.gz.sha256 96B
63、 scheduler_darwin_arm64.tar.gz 12.97MB
64、 scheduler_darwin_arm64.tar.gz.sha256 96B
65、 scheduler_linux_amd64.tar.gz 13.73MB
66、 scheduler_linux_amd64.tar.gz.sha256 95B
67、 scheduler_linux_arm.tar.gz 12.76MB
68、 scheduler_linux_arm.tar.gz.sha256 93B
69、 scheduler_linux_arm64.tar.gz 12.39MB
70、 scheduler_linux_arm64.tar.gz.sha256 95B
71、 scheduler_windows_amd64.zip 13.66MB
72、 scheduler_windows_amd64.zip.sha256 94B
73、 sentry_darwin_amd64.tar.gz 13.17MB
74、 sentry_darwin_amd64.tar.gz.sha256 93B
75、 sentry_darwin_arm64.tar.gz 12.19MB
76、 sentry_darwin_arm64.tar.gz.sha256 93B
77、 sentry_linux_amd64.tar.gz 12.92MB
78、 sentry_linux_amd64.tar.gz.sha256 92B
79、 sentry_linux_arm.tar.gz 11.91MB
80、 sentry_linux_arm.tar.gz.sha256 90B
81、 sentry_linux_arm64.tar.gz 11.61MB
82、 sentry_linux_arm64.tar.gz.sha256 92B
83、 sentry_windows_amd64.zip 12.87MB
84、 sentry_windows_amd64.zip.sha256 91B