Skip to content

[Bug] config has invalid keys [credentialsFile] #60

@0xLeo258

Description

@0xLeo258

What steps did you take and what happened:
credentialFile这个Key被认为是非法的,但是我们是通过secret把凭证作为文件挂载在里面运行的,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"

What did you expect to happen:
#54 这个pr里有修复。把credentialFile加入合法字段。

Anything else you would like to add:
N/A

Environment:

  • Velero version: (use ark version): 1.17.1
  • Kubernetes version: (use kubectl version): 1.33

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