0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

k8s Failed to pull image 403 Forbidden

Last updated at Posted at 2023-06-03

GKE の Pod で private repo の GHCR から docker image を pull する時にエラーが発生

Failed to pull image "ghcr.io/organization/repository:pr-1": rpc error: code = Unknown desc = failed to pull and unpack image "ghcr.io/organization/repository:pr-1": failed to resolve reference "ghcr.io/organization/repository:pr-1": pulling from host ghcr.io failed with status code [manifests pr-1]: 403 Forbidden

imagePullSecretsなどは合っているはずだったがpullできず苦戦
organizationのPersonal access tokensの設定でPersonal access token (classic)がRestrict access via personal access tokens (classic)になっていた...

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?