{"id":51649285,"url":"https://github.com/mkutlak/kargo-argocd-observer","last_synced_at":"2026-07-14T02:02:08.713Z","repository":{"id":368849887,"uuid":"1287074200","full_name":"mkutlak/kargo-argocd-observer","owner":"mkutlak","description":"Kubernetes controller that reconciles Kargo Stage state with what ArgoCD actually deployed.","archived":false,"fork":false,"pushed_at":"2026-07-02T12:37:08.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-02T14:26:55.115Z","etag":null,"topics":["argocd","gitops","kargo"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkutlak.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-02T11:00:57.000Z","updated_at":"2026-07-02T12:38:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mkutlak/kargo-argocd-observer","commit_stats":null,"previous_names":["mkutlak/kargo-argocd-observer"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mkutlak/kargo-argocd-observer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkutlak%2Fkargo-argocd-observer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkutlak%2Fkargo-argocd-observer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkutlak%2Fkargo-argocd-observer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkutlak%2Fkargo-argocd-observer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkutlak","download_url":"https://codeload.github.com/mkutlak/kargo-argocd-observer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkutlak%2Fkargo-argocd-observer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35442828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-14T02:00:06.603Z","response_time":114,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","gitops","kargo"],"created_at":"2026-07-14T02:02:08.175Z","updated_at":"2026-07-14T02:02:08.702Z","avatar_url":"https://github.com/mkutlak.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kargo-argocd-observer\n\nA Kubernetes controller that closes a bookkeeping gap in [Kargo](https://kargo.io)\n(≤ v1.10): Kargo Stages only display the last Freight promoted *through Kargo*, so when\nsomeone commits an image-tag bump directly to the GitOps repository and ArgoCD syncs it,\nthe cluster runs the new version while Kargo keeps showing the stale one.\n\n`kargo-argocd-observer` watches ArgoCD `Application` resources, detects when the\ndeployed image tag no longer matches the Stage's current Freight, finds the Freight that\ncorresponds to what is actually deployed, and creates a Kargo `Promotion` — the only\nsupported way to move a Stage's state — so Kargo converges on reality. The Promotion is\na **git no-op** (the tag is already in git); hand-bumps become auditable promotion\nhistory entries — named like Kargo's own promotions and labeled\n`app.kubernetes.io/managed-by=kargo-argocd-observer` — instead of invisible drift.\n\nIt requires zero per-application configuration: it keys off the\n`kargo.akuity.io/authorized-stage` annotation that Kargo's ArgoCD integration already\nrequires. See [docs/architecture.md](docs/architecture.md) for how it works.\n\n## Quick start\n\nInstall the Helm chart (published as an OCI artifact). Chart defaults are scoped for a\nsafe rollout: `observeMode=opt-in` (only annotated-and-opted-in Applications are\nconsidered) and `dryRun=true` (intended Promotions are logged and emitted as Events,\nnever created):\n\n```sh\nhelm install kargo-argocd-observer oci://ghcr.io/mkutlak/charts/kargo-argocd-observer \\\n  --namespace kargo-observer --create-namespace\n```\n\nAnnotate one Application to opt it in:\n\n```sh\nkubectl annotate application \u003capp\u003e -n \u003cnamespace\u003e kargo-observer.kutlak.cc/observe=true\n```\n\nWatch the logs and the Events emitted on Stages; once the Promotions it *would* create\nmatch expectations, let it act for real:\n\n```sh\nhelm upgrade kargo-argocd-observer oci://ghcr.io/mkutlak/charts/kargo-argocd-observer \\\n  --namespace kargo-observer --reuse-values --set dryRun=false\n```\n\nOnce you trust the controller with everything (not just the Applications you opted in),\nwiden scope to every annotated Application, unless ignored:\n\n```sh\nhelm upgrade kargo-argocd-observer oci://ghcr.io/mkutlak/charts/kargo-argocd-observer \\\n  --namespace kargo-observer --reuse-values --set observeMode=opt-out\n```\n\nAll chart values are documented in\n[charts/kargo-argocd-observer/README.md](charts/kargo-argocd-observer/README.md).\nIf you prefer raw manifests over a Helm release, render them with\n`helm template kargo-argocd-observer charts/kargo-argocd-observer`.\n\n## Documentation\n\n| Document | Contents |\n|---|---|\n| [docs/architecture.md](docs/architecture.md) | How it works, design constraints, RBAC, limitations |\n| [docs/reference.md](docs/reference.md) | Flags, metrics, Events, annotations, labels |\n| [docs/development.md](docs/development.md) | Toolchain (mise), quality gate, repository layout, testing |\n| [docs/release.md](docs/release.md) | Application and Helm chart release processes |\n\n## License\n\nSee [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkutlak%2Fkargo-argocd-observer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkutlak%2Fkargo-argocd-observer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkutlak%2Fkargo-argocd-observer/lists"}