Fix: Correct persistence storage configuration in seata-server-cluster.yaml #24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is the purpose of the change?
The current storage configuration in seata-server-cluster.yaml is incorrectly placed under
spec.store
, which causes deployment failure. The error message shows: "error when creating deploy/seata-server-cluster.yaml: SeataServer in version "v1alpha1" cannot be handled as a SeataServer: strict decoding error: unknown field 'spec.store'". This change moves the storage configuration to the correct location according to the CRD definition.Changes
Testing Results
Checklist
[中文]
修改目的
当前 seata-server-cluster.yaml 中的存储配置错误地放在了
spec.store
字段下,导致部署失败。根据 CRD 定义,将存储配置移动到了正确的位置persistence.spec
下。测试验证
已完成部署测试,验证了 SeataServer 资源创建、PVC 创建和绑定等功能正常。详细测试结果见上述英文描述。