Skip to content

Missing support for anonymous volumes #29

@klutchell

Description

@klutchell

The parser does not currently allow volumes without a source (anonymous volumes) even though the SV supports it at runtime.

case 'volume':
if (!serviceVolume.source) {
throw new ValidationError('Missing volume source');
}
if (volumeNames.indexOf(serviceVolume.source) === -1) {
throw new ValidationError(
`Missing volume definition for '${serviceVolume.source}'`,
);
}
if (serviceVolume.volume) {
throw new ValidationError('Volume options are not allowed');
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions