Giter VIP home page Giter VIP logo

Comments (5)

jannfis avatar jannfis commented on May 29, 2024

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.

a5a5a9 avatar a5a5a9 commented on May 29, 2024

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.

jannfis avatar jannfis commented on May 29, 2024

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

  1. passing the --applications-api argocd command line parameter to the container's startup command or
  2. also applying latest set of manifests and setting applications_api: argocd in the argocd-image-updater-config ConfigMap and restarting the deployment

from argocd-image-updater.

a5a5a9 avatar a5a5a9 commented on May 29, 2024

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.

a5a5a9 avatar a5a5a9 commented on May 29, 2024

it is fixed now .

from argocd-image-updater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.