Pull access denied from Kubernetes into OCI Registry
Summary
Any policy needed ?Content
I have followed several documentation pages to setup Kubernetes and Container Registry in Oracle Cloud infrastructure.
After creation of my API Auth Key, I was able to push my own Docker image to the OCIR Registry (in a private repository).
But when I try to pull this image from a simple pod in Kubernetes (OKE), i always get the following message in K8s dashboard :
Failed to pull image "fra.ocir.io/.../..": rpc error: code = Unknown desc = pull access denied for fra.ocir.io/.../..., repository does not exist or may require 'docker login'
I've created the registry secret "ocirsecret" as mentioned in the documentation and added it to the pod's description.
Tagged:
1