I'm doing deployment into my kubernetes cluster. I have created secret for my private registry and deployment yaml file. I have applied them with kubectl apply -f deployment.yml
with "imagePullPolicy: always"
to deploy automatically some applications into my cluster without any problem. Now I'm using the same secret file to deploy another application and I'm facing this error:
"Failed to pull image "lab.smartds.io:5060/market-place/marketplace-api:latest": rpc error: code = Unknown desc = Error response from daemon: Get https://lab.smartds.io:5060/v2/market-place/marketplace-api/manifests/latest: denied: access forbidden"
But I'm able to pull the same image manually using docker pull imagename
. I don't know why.