Skip to content

[bug] local-storage storageclass, S3 restore has skip. #327

@acekingke

Description

@acekingke

Describe the problem

if use yaml as follow, S3 backup restore, it will skip the restore process.

persistence:
    enabled: true
    accessModes:
      - ReadWriteOnce
    storageClass: "local-storage"
    size: 20Gi

image

To Reproduce

  1. the reason is that : updatePvc will delete the pvc, but will not delete data in local-storage, so it will skip the restore process.
  2. It will modify the sidecar , when local-storage , should delete the direcotry all. then restore it.
  3. local-storage do not support extend pvc.

Expected behavior

Environment:
local storage provider
kubeShpere 3.1.1

  • RadonDB MySQL version: v2.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions