This repository was archived by the owner on Dec 6, 2024. It is now read-only.
This repository was archived by the owner on Dec 6, 2024. It is now read-only.
Is it possible to avoid specification of protocol twice? #24
Closed
Description
Do we need to include Name
as well as the different protocol options? This makes it so that whenever options are included, users must specify their choice twice: once in Name
and once implicitly in the protocol spec. E.g.,
protocol:
name: s3
s3:
blah: stuff
K8s volume claims use a syntax where the option itself implicitly specifies the option desired. E.g.,
volumes:
- name: myDir
emptyDir: {}
Does it make sense to follow that pattern for the protocol also? Like below would be an S3 config with no options set.
protocol:
s3: {}