Skip to content

Docker label array problem with Unraid #141

@DennaGherlyn

Description

@DennaGherlyn

Hello,

first, thank you so much for adding support for labels and config files! This helps so much.

I'm having trouble adding any label of type array via the Unraid UI (e.g. sso-roles). This is because Unraid handles all labels as strings, regardless of what is typed into the field.
This works fine with the boolean (pangolin.proxy-resources.res-name.auth.sso-enabled=true) but not for arrays.

I tried these different versions:

pangolin.proxy-resources.res-name.auth.sso-roles=["Member"]
pangolin.proxy-resources.res-name.auth.sso-roles='["Member"]'
pangolin.proxy-resources.res-name.auth.sso-roles=Member
pangolin.proxy-resources.res-name.auth.sso-roles=["Member","Other Group"]
pangolin.proxy-resources.res-name.auth.sso-roles=Member,Other Group

Would it be possible to add a parser that can convert these labels to the desired type?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions