Skip to content

docker label for blueprints is not accepting an array for sso-roles #2174

@trexwe

Description

@trexwe

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions