Open pratapaprasanna opened 10 months ago
I tried the following and it worked.
Create a secret using dockerhub PAT using the following link
cat docker-secret.yaml
---
apiVersion: v1
kind: Secret
metadata:
name: dockerhub
namespace: argocd
type: Opaque
stringData:
token: gouthamappsmith:xxxxxxxxxx
argocd-image-updater.yaml as the following
---
image:
tag: "latest"
metrics:
enabled: true
config:
registries:
- name: Docker Hub
credentials: secret:argocd/dockerhub#token
api_url: https://registry-1.docker.io
ping: yes
default: true
Installed argcd-image-updater using the following
helm upgrade -i updater -n argocd argo/argocd-image-updater -f argocd-image-updater.yaml
However, upon deploying i see these logs
time="2024-01-02T08:54:12Z" level=info msg="Successfully updated the live application spec" application=appsmith
time="2024-01-02T08:54:12Z" level=info msg="Processing results: applications=1 images_considered=2 images_skipped=0 images_updated=2 errors=0"
But, I don't see the image not getting updated. Anything i am missing ? I deliberately , didn't go with git commits ?
Just wanted to add some traffic to this, we have a similar situation.
We use Azure Container Registry, and when I tried to configure a registry-wide pull secret, it wouldn't auth (but I could curl the same /tag/list endpoint with the same creds).
When I set each image in the image list to use the same pull secret individually, it works.
So I think there's a disconnect somewhere between the registry-wide config (which uses https://????.azurecr.io for it's api url), and the image list which omits the https when defining images.
I'm guessing when it goes to compare to decide if it needs to use that specific registry, it doesn't consider it a match? Just a stab in the dark.
Describe the bug
My registries configmap look as follows
Same creds work when i do a docker login
I created the secret as follows
kubectl create -n argocd secret docker-registry appsmith --docker-username=xxxx --docker-password=xxx
and it is working in the same cluster as imagePullSecrets. Also, occasionally i see Too many pull Requests despite providing my credentials and authenticating myself
Am i missing anything? anyhelp would be off great use Thankyou
Version