Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Internal Gitlab registry failing auth with 401 #215

Open
BrutalBirdie opened this issue Feb 27, 2023 · 1 comment
Open

Internal Gitlab registry failing auth with 401 #215

BrutalBirdie opened this issue Feb 27, 2023 · 1 comment
Labels

Comments

@BrutalBirdie
Copy link

Tracking Issue for PR.
In the defaults gitlab_external_url is mentioned with a trailing / this will result in a bad registry configuration:

path: /var/opt/gitlab/registry/config.yml

auth:
  token:
    realm: https://sub.domain.tld//jwt/auth

because in the gitlab.rb file the external_url "https://sub.domain.tld/" will be combined with the /jwt/auth leading to // in the domain. (Sorry could not find the internal gitlab code where this happens)

@github-actions
Copy link

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label Jul 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant