Fix Container Service full access token
This commit is contained in:
parent
28233e00dc
commit
b575b2f1ef
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ module Auth
|
|||
|
||||
def self.full_access_token(*names)
|
||||
registry = Gitlab.config.registry
|
||||
token = ::JWT::RSAToken.new(registry.key)
|
||||
token = JSONWebToken::RSAToken.new(registry.key)
|
||||
token.issuer = registry.issuer
|
||||
token.audience = AUDIENCE
|
||||
token[:access] = names.map do |name|
|
||||
|
|
Loading…
Reference in a new issue