Skip to content

Conversation

@marcoklaassen
Copy link
Contributor

@marcoklaassen marcoklaassen commented Oct 27, 2020

JMESPath Support

Not every JWT token provider is able to define the token the way the chartmuseum wants it.
In my case, my sso produces e.g.:

"resource_access": {
    "chartmuseum": {
      "roles": [
        "pull"
      ]
    }
  },

If you are not able to configure the JWT token provider yourself, i think it is a good idea to provide a solution by the chartmuseum auth module.

With JMESPath Support we can make the path to find the allowed actions configurable.
To avoid a breaking change, i defined a default JMESPath. This default configuration does the same job as the old implementation.

The pull request for the chartmuseum repository: helm/chartmuseum#381

@jdolitsky jdolitsky added this to the v0.5.0 milestone Nov 12, 2020
@jdolitsky jdolitsky changed the base branch from master to main November 12, 2020 03:58
@jdolitsky jdolitsky merged commit e4525ce into chartmuseum:main Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants