Comments (5)
Hi @a5a5a9, given the fact that you are using kubernetes
API as access type according to the logs: Have you installed the Image Updater to the same namespace where Argo CD is running in?
I also see that you have ARGOCD_TOKEN
set-up, and are using an unreleased version (i.e. latest
), so maybe there's a discrepancy between your configuration and the version you are running? Do you expect Image Updater to use Kubernetes API or Argo CD API?
from argocd-image-updater.
No, the image updater is installed on a separate namespace in the same cluster but that is how it was working before also I have other clusters I was deploying apps to.
I was not aware of Kubernetes API vs ARGO CD API , as long as I can make it work again it wouldn't matter to me making changes.
what is the version I should be using ?
from argocd-image-updater.
I think when you restarted the pod, a new image was pulled containing recent changes. You can either use the v0.8 image in your deployment manifest (this is the general suggestion, since latest
may contain - as you now experienced - breaking changes), or you will have to specify the API type to be used as argocd
, either by
- passing the
--applications-api argocd
command line parameter to the container's startup command or - also applying latest set of manifests and setting
applications_api: argocd
in theargocd-image-updater-config
ConfigMap and restarting the deployment
from argocd-image-updater.
now getting this level=error msg="Error: rpc error: code = Unauthenticated desc = invalid session: token contains an invalid number of segments" I have recreated the TOKEN with no luck
time="2021-02-23T20:43:08Z" level=info msg="argocd-image-updater v0.8.0+18d3e63 starting [loglevel:DEBUG, interval:2m0s, healthport:8080]"
time="2021-02-23T20:43:08Z" level=debug msg="rate limit for https://XXXX.dkr.ecr.us-east-1.amazonaws.com is 2147483647"
time="2021-02-23T20:43:08Z" level=info msg="Loaded 1 registry configurations from /app/config/registries.conf"
time="2021-02-23T20:43:08Z" level=debug msg="Creating in-cluster Kubernetes client"
time="2021-02-23T20:43:08Z" level=debug msg="Using ArgoCD API credentials from environment ARGOCD_TOKEN"
time="2021-02-23T20:43:08Z" level=info msg="ArgoCD configuration: [server=argocd-server.argocd.svc.cluster.local, auth_token=true, insecure=true, grpc_web=false, plaintext=true]"
time="2021-02-23T20:43:08Z" level=info msg="Starting health probe server TCP port=8080"
time="2021-02-23T20:43:08Z" level=info msg="Starting metrics server on TCP port=8081"
time="2021-02-23T20:43:08Z" level=info msg="Warming up image cache"
time="2021-02-23T20:43:08Z" level=error msg="error while communicating with ArgoCD" argocd_server=argocd-server.argocd.svc.cluster.local grpc_web=false grpc_webroot= insecure=true plaintext=true
time="2021-02-23T20:43:08Z" level=error msg="error while communicating with ArgoCD" argocd_server=argocd-server.argocd.svc.cluster.local grpc_web=false grpc_webroot= insecure=true plaintext=true
time="2021-02-23T20:43:08Z" level=error msg="Error: rpc error: code = Unauthenticated desc = invalid session: token contains an invalid number of segments"
from argocd-image-updater.
it is fixed now .
from argocd-image-updater.
Related Issues (20)
- starts getting timeout errors with ECR registeries until pod is restarted HOT 1
- Request for "latest pushed tag" update strategy HOT 1
- Cache hit
- Could not update application spec: could not get creds for repo '': credentials for '' are not configured in Argo CD settings HOT 1
- Image updating firing every 10 minutes instead of default 2 minutes
- Provide more details about error if connection to argocd fails.
- After successfully updating the image, the Helm values passed in the application are reset HOT 3
- Git Write-Back Target annotation doesn't seems commits to the kustomization file back to source path
- Error fetching metadata from Docker Hub
- {{ .OldTag }} does not match actual old tag being replaced
- Update strategy: newest-build not working HOT 2
- image updater post-sync hook
- could not get tags: Get "https://myharbor.domain/v2/": tls: failed to verify certificate: x509: certificate signed by unknown authority
- the image updater wants to connect to 52.219.169.162 (s3-r-w.eu-central-1.amazonaws.com) HOT 2
- Issue with Authentication in ArgoCD Image Updater for Docker Hub
- golangci-lint context loading failed: no go files to analyze
- ArgoCD does not consider images for arch "linux/arm64/v8" HOT 1
- Sequential Builds Overwriting Image Tags in Git Repository
- Digest Update Strategy Incorrectly Adding "Latest" Tag
- Bug between v0.12.2 to v0.13.0 in git write-back implementation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argocd-image-updater.