Skip to content

新版本问题 #59

@0xLeo258

Description

@0xLeo258

What steps did you take and what happened:
我把新的master分支上的代码build并且跟velero一起运行之后:

  1. credentialFile这个Key被认为是非法的,但是我们是通过secret把凭证作为文件挂载在里面运行的fix:config has invalid keys [credentialsFile] #54 这个pr里有修复,velero pod log中报错:
    time="2026-01-19T05:32:33Z" level=error msg="Error getting a backup store" controller=download-request downloadRequest=velero/test-plugin-2c36efe2-aee7-43b1-a7b4-c1e4c4174973 error="rpc error: code = Unknown desc = failed to validate object store config keys: config has invalid keys [credentialsFile]; valid keys are [region network endpoint bucket prefix caCert]" error.file="/Users/I578102/velero-plugin/velero-plugin-alibabacloud/object_store.go:95" error.function="main.(*ObjectStore).Init" logSource="pkg/controller/download_request_controller.go:186"

  2. restoreItemAction 冲突, 对应的分析在:If we install multiple cloud provider plugin in velero, which cloud provider plugin will work? velero-io/velero#4256
    默认来说velero在 各个云对应的官方插件repo中 只定义object store和volume snapshotter。

  3. 可用区相关,fix:config has invalid keys [credentialsFile] #54 也是在这个pr里,旧版本在恢复时可用区不一致问题导致恢复失败,后在自己fork的版本中 通过tag读取来解决。 新版本是否已经解决这个问题?

Anything else you would like to add:
N/A

  • Velero version: (use ark version): 1.17.1
  • Kubernetes version: (use kubectl version): 1.33
  • Cloud provider or hardware configuration: 阿里云

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions