{"id":25497220,"url":"https://github.com/jblorincz/argocd-image-updater-example","last_synced_at":"2025-11-10T03:30:19.122Z","repository":{"id":277756379,"uuid":"933374900","full_name":"JBLorincz/argocd-image-updater-example","owner":"JBLorincz","description":"Minimum example of argocd image updater in action - hands on tutorial","archived":false,"fork":false,"pushed_at":"2025-02-15T21:17:13.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T22:23:57.087Z","etag":null,"topics":["argocd","argocd-image-updater","kubernetes","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Smarty","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JBLorincz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-15T19:57:56.000Z","updated_at":"2025-02-15T21:30:59.000Z","dependencies_parsed_at":"2025-02-15T22:24:01.409Z","dependency_job_id":"63f06842-def3-48e4-8682-0f4521596a61","html_url":"https://github.com/JBLorincz/argocd-image-updater-example","commit_stats":null,"previous_names":["jblorincz/argocd-image-updater-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBLorincz%2Fargocd-image-updater-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBLorincz%2Fargocd-image-updater-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBLorincz%2Fargocd-image-updater-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JBLorincz%2Fargocd-image-updater-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JBLorincz","download_url":"https://codeload.github.com/JBLorincz/argocd-image-updater-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239576779,"owners_count":19662114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["argocd","argocd-image-updater","kubernetes","tutorial"],"created_at":"2025-02-19T01:18:51.086Z","updated_at":"2025-11-10T03:30:19.057Z","avatar_url":"https://github.com/JBLorincz.png","language":"Smarty","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Steps to use\n## Initial steps \n1. Create a kubernetes cluster (minikube, microk8s, whatever you want)\n2. [Install ArgoCD to that cluster](https://argo-cd.readthedocs.io/en/stable/getting_started/)\n3. [Ensure you have the ArgoCD CLI](https://argo-cd.readthedocs.io/en/stable/cli_installation/)\n4. [Install Argocd image updater to that cluster](https://argocd-image-updater.readthedocs.io/en/stable/install/installation/)\n## Git steps\n5. Create a [access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) in github with the `repo` scope and permissions to access your forked repo. Remember the token!\n6. Fork this repository. ArgoCD will need a way to modify the repository itself to achieve the GitOps design. The access token will let it do that.\n7. Using the Argo CLI, Register your repository like so: `argocd repo add \u003cPATH TO YOUR FORK HERE\u003e --username accesstoken --password \u003caccesstoken\u003e` NOTE: use your access token as the password here (username can be any nonempty string). Path to your fork should look something like `https://github.com/jblorincz/argocd-image-updater-example`\n8. In Argo, create a git secret with your access token to let image updater make updates.\n```\nkubectl -n argocd create secret generic git-creds \\\n  --from-literal=username=accesstoken \\\n  --from-literal=password=\u003caccesstoken\u003e\n```\n9. Using the Argo CLI, apply the main app:\n```\nargocd app create apps \\\n    --dest-namespace argocd \\\n    --dest-server https://kubernetes.default.svc \\\n    --repo \u003cPATH TO YOUR FORK HERE\u003e \\\n    --path image-updater-example  \nargocd app sync apps\n```\n\n10. Watch as two apps get deployed, a `develop` and a `production` app. both will spawn one pod using the `nginx:stable-alpine` tag. develop is hooked up to argo image updater, while production is not. Both pods will be using the same image at first, but wait (at least a few hours) and you will see that the develop app the image gets automatically updated as new updates are made to nginx.\n\n\n11. Check for `argo-image-updater` to make a commit to your Github repo, modifying the file at `example-app/.argocd-source-develop.yaml`. This is where ArgoCD Image Updater will write the image tag to use, overriding the setting in the `values.yaml` to ensure that the image with the most recent digest is being applied for the image tag.\n\n\nRead more about the ArgoCD Image Updater here: [https://argocd-image-updater.readthedocs.io/en/stable/](https://argocd-image-updater.readthedocs.io/en/stable/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjblorincz%2Fargocd-image-updater-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjblorincz%2Fargocd-image-updater-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjblorincz%2Fargocd-image-updater-example/lists"}