Issue with ImagePullSecrets on local-kubernetes pr...
# 🌱|help-and-getting-started
Hello, I am running into an issue when setting up the imagePullSecrets for the local-kubernetes provider. I have followed the documentation and have correctly created a kubernetes secret that contains the registry configuration. I have then gone ahead and referenced it in the provider configuration as such:
Copy code
  - name: local-kubernetes
    setupIngressController: false
      - name: github-ocr-secret
        namespace: default
When I go to deploy my helm chart that I have pushed my private registry (GitHub container registry), I receive the following error message:
Error: INSTALLATION FAILED: GET "<my-org>/charts/rust/tags/list": GET "<my-org>%2Fcharts%2Frust%3Apull&": unexpected status code 401: unauthorized: authentication required
I have tried refreshing the provider status and reinstalling Garden, but so far none of these efforts have made any effect. I've provided the helm deployment and the output of the kubernetes secret with the registry configuration as reference as well below: Kubernetes secret:
Copy code
Name:         github-ocr-secret
Namespace:    default
Labels:       <none>
Annotations:  <none>


.dockerconfigjson: {"auths":{"":{"username":"<MY_GITHUB_USERNAME>","password":"<MY_GITHUB_PAT>","email":"<MY_EMAIL>","auth":"<MY_AUTH>"}}}
And I generated this secret using the following kubectl command:
kubectl create secret docker-registry mysecretname --docker-server= --docker-username=mygithubusername --docker-password=mygithubreadtoken --docker-email=mygithubemail
And here is the format of the helm deploy:
Copy code
kind: Deploy
type: helm
name: test-deploy
    url: oci://<my-org>/charts/rust # Private chart
      replicas: 1
        repository:<my-org>/rust # Private Image 
        tag: main
      name: rust
Any help on this would be greatly appreciated, and thanks in advance for taking the time to read this over. Regards, Price