fosrl / fosrl/newt

Docker label array problem with Unraid

Open
#141 0 comments 0 reactions 0 assignees View on GitHub
bug Improvement
Dominant language
Go
Stars
908
Forks
87
Avg merge
1d 15h
Merged PRs (30d)
7

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.