Skip to content

How can I use azure workload identity with different resource groups for snapshotter and storage #8595

Discussion options

You must be logged in to vote

It's actually all there in the docu, but I quickly summarize it. So if you are installing velero with helm you need to define the following in the values.yaml

  1. define the service account in
    serviceAccount:
     server:
       create: true
       name: velero-server
       annotations:
         azure.workload.identity/client-id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
  2. Set podLables to use azure identity
    podLabels:
      azure.workload.identity/use: "true"
  3. Define backupstorage and ensure you set configuration.backupStorageLocation[0].config.useAAD
    configuration:
      backupStorageLocation:
        - name: "backup-velero" # Name for the velero backup location object, where backups should be stored.
          provider: azure

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@papanito
Comment options

@anshulahuja98
Comment options

@papanito
Comment options

Answer selected by papanito
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment