Grafana-Helm - Failed to pull image(pull access denied)

Hi Team,
I’m new to grafana and prometheus, started working on it from last few days. I’m having some issues. I build a new grafana image and I am using the official helm repo to install it. On using the official image its wotking but on using my image the Pod is showing error. Failed to pull image "my-repository/grafana:9.4.1": rpc error: code = Unknown desc = failed to pull and unpack image "[docker.io/my-repository/grafana:9.4.1](http://docker.io/my-repository/grafana:9.4.1)": failed to resolve reference "[docker.io/my-repository/grafana:9.4.1](http://docker.io/my-repository/grafana:9.4.1)": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed On checking I understood that I need to add imagePullSecret but after add that too i’m having the issue.

This is where I have added image pull secret repository: my-repository/grafana
# Overrides the Grafana image tag whose default is the chart appVersion
tag: "9.4.1"
sha: ""
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: [https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/)
## Can be templated.
##
# pullSecrets:
# - myRegistrKeySecretName
imagePullSecrets:
- name: secretname

What might be the issue here, any insights will be helpful. :blush:

[docker.io/my-repository/grafana:9.4.1](http://docker.io/my-repository/grafana:9.4.1) looks like placeholder text since it goes to a 404 page. It looks like these are instructions might be for how to provide your own Grafana image?

Hi thanks for the reply. I sorted out the issue. The error was because I gave imagePullSecret instead of pullSecret, which was mentioned in this file Grafan Helem After correcting it, the issue is solved