You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a bit of time (~3h) the logs shows a failed authentication message. Only solution I found was to restart the argocd image updater deployment.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The authentication should not be lost after some time
Additional context
Add any other context about the problem here.
Version
GKE Autopilot
1.30.4-gke.1348000
The SA is configured with proper access using OIDC + workloadIdentity.
Logs
time="2024-10-08T07:38:09Z" level=error msg="Could not get tags from registry: Get \"https://europe-docker.pkg.dev/v2/my-project/docker-my-app/my-app/tags/list\": unauthorized: authentication failed" alias=my-app application=my-app-staging-europe-west4 image_name=my-project/docker-my-app/my-app image_tag=240828-2523829-staging registry=europe-docker.pkg.dev
The text was updated successfully, but these errors were encountered:
After some research, I found out that the metadata token has a 3600s (1h) expiration.
By adding credsexpire: 1h in my argocd-image-updater helm values, it seems to work now.
I will monitor if this is the correct solution and will close this ticket if that's the case.
Describe the bug
I've setup argocd image updater in my GKE autopilot cluster using helm charts. It works well with the config below:
After a bit of time (~3h) the logs shows a failed authentication message. Only solution I found was to restart the argocd image updater deployment.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The authentication should not be lost after some time
Additional context
Add any other context about the problem here.
Version
The SA is configured with proper access using OIDC + workloadIdentity.
Logs
The text was updated successfully, but these errors were encountered: