podman-compose
accepts non-standard type
extension for secrets
#1091
Labels
bug
Something isn't working
podman-compose
accepts non-standard type
extension for secrets
#1091
Describe the bug
In the process of implementing #971 it looks like
was added to support setting environment variables, however
type:
is not a standard key for a secret per the Compose spec: https://github.com/compose-spec/compose-spec/blob/main/09-secrets.md.It should likely be
x-type:
as it would be a Podman Compose extension (or potentially reverted as it seems Docker Compose has its own workaround to accomplish this already: https://stackoverflow.com/questions/48094850/docker-stack-setting-environment-variable-from-secrets/)To Reproduce
Steps to reproduce the behavior:
I noticed this while using
podlet
on a project that used this, but you can trivially replicate as follows:Expected output (since this refers to secrets not supported by
podlet
yet)Actual output
Environment:
The text was updated successfully, but these errors were encountered: