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.