diff --git a/command/stack/deploy.go b/command/stack/deploy.go index d8e76106ac..9161c0965a 100644 --- a/command/stack/deploy.go +++ b/command/stack/deploy.go @@ -347,7 +347,7 @@ func convertVolumeToMount( source = stackVolume.External.Name } else { volumeOptions = &mount.VolumeOptions{ - Labels: stackVolume.Labels, + Labels: getStackLabels(namespace.name, stackVolume.Labels), NoCopy: isNoCopy(mode), }