Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: INSTALLATION FAILED: BackupStorageLocation.velero.io "default" is invalid #8701

Open
alihamza-official opened this issue Feb 18, 2025 · 2 comments
Labels
Helm Issues related to Helm charts

Comments

@alihamza-official
Copy link

alihamza-official commented Feb 18, 2025

What steps did you take and what happened:
I am installing velero using helm and getting this error

Error: INSTALLATION FAILED: BackupStorageLocation.velero.io "default" is invalid: [spec.objectStorage.bucket: Required value, spec.provider: Required value]

Here is my values.yaml config

initContainers:
  - name: velero-plugin-for-aws
    image: velero/velero-plugin-for-aws:v1.10.0
    imagePullPolicy: IfNotPresent
    volumeMounts:
      - mountPath: /target
        name: plugins

configuration:
  backupStorageLocation:
  - provider: aws
    bucket: <bucket-name>
    prefix: <eks-cluster-name>
    config:
      region: <region>

  volumeSnapshotLocation:
  - provider: aws
    config:
      region: <region>

  uploaderType: kopia
  defaultVolumesToFsBackup: false

serviceAccount:
  server:
    create: true
    name: velero
    annotations:
      eks.amazonaws.com/role-arn: <velero-irsa-arn>

credentials:
  useSecret: false  # Also tried with velero IAM user credentails

snapshotsEnabled: false
deployNodeAgent: false

schedules:
  daily:
    disabled: false
    schedule: <schedule>
    template:
      excludedNamespaces:
      - velero
      snapshotVolumes: false
      defaultVolumesToFsBackup: false

What did you expect to happen:

Velero chart should be installed properly and working. I was previously deploying using Terraform and it's working fine with same config

Anything else you would like to add:
Same issue is available in helm-chart repo here but no response on that

Environment:

  • Velero version (use velero version): v1.13.1
  • Velero features (use velero client config get features): Not Set
  • Kubernetes version (use kubectl version): v1.26.1
  • Kubernetes installer & version:
  • Cloud provider or hardware configuration: AWS
  • OS (e.g. from /etc/os-release): Linux Subsystem for Windows

Vote on this issue!

  • 👍 for "I would like to see this bug fixed as soon as possible"
  • 👎 for "There are more important bugs to focus on right now"
@Lyndon-Li
Copy link
Contributor

Looks like values are not correctly set to BackupStorageLocation CR, could you double check your value.yaml? We don't see this problem locally

@Lyndon-Li Lyndon-Li added the Helm Issues related to Helm charts label Feb 18, 2025
@alihamza-official
Copy link
Author

@Lyndon-Li values are exactly same and I have even tried by adding names but same issue still

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Helm Issues related to Helm charts
Projects
None yet
Development

No branches or pull requests

2 participants