[GH-ISSUE #2174] docker label for blueprints is not accepting an array for sso-roles #2086

Closed
opened 2026-04-16 09:04:28 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @trexwe on GitHub (Dec 28, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/2174

Originally assigned to: @oschwartz10612 on GitHub.

Describe the Bug

I'm adding docker labels to my containers, and I want to add the auth.sso-roles label.

I've tried:

[...].auth.sso-roles=Member
[...].auth.sso-roles=[Member]
[...].auth.sso-roles[0]=Member
[...].auth.sso-roles=["Member"]

The error I'm getting in the newt log:

Blueprint application failed: Failed to apply blueprint from config: Error: Validation error: Invalid input: expected array, received string at "public-resources.[service].auth.sso-roles"; 

I must not have the right syntax for an array, but I can't figure it out. Please help, or please fix the documentation or code so that it accepts the [0] array like other labels that take arrays with the [0]= syntax.

Environment

  • OS Type & Version: (e.g., Ubuntu 22.04)
  • Pangolin Version: 1.14.1
  • Gerbil Version: 1.3.0
  • Traefik Version: 3.6.5
  • Newt Version: 1.8.1

To Reproduce

add docker labels to a resource, with sso-roles as one of them.

Expected Behavior

Ingest the sso-roles label correctly

Originally created by @trexwe on GitHub (Dec 28, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/2174 Originally assigned to: @oschwartz10612 on GitHub. ### Describe the Bug I'm adding docker labels to my containers, and I want to add the auth.sso-roles label. I've tried: [...].auth.sso-roles=Member [...].auth.sso-roles=[Member] [...].auth.sso-roles[0]=Member [...].auth.sso-roles=["Member"] The error I'm getting in the newt log: ``` Blueprint application failed: Failed to apply blueprint from config: Error: Validation error: Invalid input: expected array, received string at "public-resources.[service].auth.sso-roles"; ``` I must not have the right syntax for an array, but I can't figure it out. Please help, or please fix the documentation or code so that it accepts the [0] array like other labels that take arrays with the [0]= syntax. ### Environment - OS Type & Version: (e.g., Ubuntu 22.04) - Pangolin Version: 1.14.1 - Gerbil Version: 1.3.0 - Traefik Version: 3.6.5 - Newt Version: 1.8.1 ### To Reproduce add docker labels to a resource, with sso-roles as one of them. ### Expected Behavior Ingest the sso-roles label correctly
Author
Owner

@Noggog commented on GitHub (Jan 3, 2026):

Hmm, after some playing around, this did work for me:

    labels:
      - pangolin.proxy-resources.docs.auth.sso-roles[0]=Member
      - pangolin.proxy-resources.docs.auth.sso-roles[1]=Newbie
<!-- gh-comment-id:3706596781 --> @Noggog commented on GitHub (Jan 3, 2026): Hmm, after some playing around, this did work for me: ``` labels: - pangolin.proxy-resources.docs.auth.sso-roles[0]=Member - pangolin.proxy-resources.docs.auth.sso-roles[1]=Newbie ```
Author
Owner

@LunkSnee commented on GitHub (Jan 12, 2026):

Hmm, after some playing around, this did work for me:

    labels:
      - pangolin.proxy-resources.docs.auth.sso-roles[0]=Member
      - pangolin.proxy-resources.docs.auth.sso-roles[1]=Newbie

Thanks, Noggog. Did it work for you if you just had 1, only Member, not Newbie

<!-- gh-comment-id:3736592009 --> @LunkSnee commented on GitHub (Jan 12, 2026): > Hmm, after some playing around, this did work for me: > > ``` > labels: > - pangolin.proxy-resources.docs.auth.sso-roles[0]=Member > - pangolin.proxy-resources.docs.auth.sso-roles[1]=Newbie > ``` Thanks, Noggog. Did it work for you if you just had 1, only Member, not Newbie
Author
Owner

@Noggog commented on GitHub (Jan 12, 2026):

Yes, it has been working for me with just a single entry so far

<!-- gh-comment-id:3736755218 --> @Noggog commented on GitHub (Jan 12, 2026): Yes, it has been working for me with just a single entry so far
Author
Owner

@oschwartz10612 commented on GitHub (Jan 20, 2026):

Sounds like this is "resolved"? If I am wrong please feel free to reopen!

<!-- gh-comment-id:3771146228 --> @oschwartz10612 commented on GitHub (Jan 20, 2026): Sounds like this is "resolved"? If I am wrong please feel free to reopen!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#2086