cnabio / duffle

CNAB installer
https://duffle.sh
MIT License
375 stars 54 forks source link

support for parameter type `bytes` #675

Open youreddy opened 5 years ago

youreddy commented 5 years ago

The CNAB spec merged in https://github.com/deislabs/cnab-spec/pull/83/ to allow bytes as a supported parameter type. It would great to see this implemented in duffle so that other runtimes have an idea on how to support this use case.

jeremyrickard commented 5 years ago

@youreddy do you think this is still relevant with the move to JSON schema based definitions? I think that the proper way to handle this is with a string type parameter and appropratie contentEncoding.

We likely need to have some documentation for this.

Duffle could be nice and try and automatically un-encode when things are loaded into the invocation image, but maybe for 1.0 we just support the passing of encoded strings?