Skip to content

Commit

Permalink
add vars to restic builder
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p authored Oct 18, 2024
1 parent 364deb5 commit bb24216
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/mover/restic/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ func (rb *Builder) FromSource(client client.Client, logger logr.Logger,
sourceStatus: source.Status.Restic,
latestMoverStatus: source.Status.LatestMoverStatus,
moverConfig: source.Spec.Restic.MoverConfig,
repositoryPVC: source.Spec.Restic.RepositoryPVC,
}, nil
}

Expand Down Expand Up @@ -201,5 +202,6 @@ func (rb *Builder) FromDestination(client client.Client, logger logr.Logger,
enableFileDeletionOnRestore: destination.Spec.Restic.EnableFileDeletion,
latestMoverStatus: destination.Status.LatestMoverStatus,
moverConfig: destination.Spec.Restic.MoverConfig,
repositoryPVC: destination.Spec.Restic.RepositoryPVC,
}, nil
}

0 comments on commit bb24216

Please sign in to comment.