Skip to content

Commit

Permalink
chore: updates error message
Browse files Browse the repository at this point in the history
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
  • Loading branch information
nilekhc committed Apr 7, 2023
1 parent d681fc3 commit 7cce3bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rotation/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ func (r *Reconciler) reconcile(ctx context.Context, spcps *secretsstorev1.Secret
}
if fileutil.GetVolumeNameFromTargetPath(spcps.Status.TargetPath) != podVol.Name {
errorReason = internalerrors.UnexpectedTargetPath
return fmt.Errorf("could not find secret provider class pod status volume for pod %s/%s", pod.Namespace, pod.Name)
return fmt.Errorf("secret provider class pod status(spcps) volume name does not match the volume name in the pod %s/%s", pod.Namespace, pod.Name)
}

parameters := make(map[string]string)
Expand Down

0 comments on commit 7cce3bb

Please sign in to comment.