Skip to content

Commit

Permalink
Update volume_snapshotter.go
Browse files Browse the repository at this point in the history
volume snapshotting currently does not work with Azure workload identities due to ValidateVolumeSnapshotterConfig throwing an error, since the AAD URI is not recognized in that method as a valid key. this will resolve the issue.

Signed-off-by: Dylan Bossie <[email protected]>
  • Loading branch information
dylanbossie-rise8 authored and dylanbossie committed Oct 22, 2024
1 parent 97d62a0 commit 19c18a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions velero-plugin-for-microsoft-azure/volume_snapshotter.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func newVolumeSnapshotter(logger logrus.FieldLogger) *VolumeSnapshotter {

func (b *VolumeSnapshotter) Init(config map[string]string) error {
if err := veleroplugin.ValidateVolumeSnapshotterConfigKeys(config,
vslConfigKeyActiveDirectoryAuthorityURI,
vslConfigKeyResourceGroup,
vslConfigKeyAPITimeout,
vslConfigKeySubscriptionID,
Expand Down

0 comments on commit 19c18a0

Please sign in to comment.