{"id":38765514,"url":"https://github.com/rellyson/argo-cd","last_synced_at":"2026-01-17T12:00:49.943Z","repository":{"id":210094889,"uuid":"725254490","full_name":"rellyson/argo-cd","owner":"rellyson","description":"GitOps with argocd discover.","archived":false,"fork":false,"pushed_at":"2023-11-30T18:30:59.000Z","size":348,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-30T19:33:25.364Z","etag":null,"topics":["argo-cd","argocd","cd","continuous-delivery","gitops","k8s","kubernetes"],"latest_commit_sha":null,"homepage":"","language":null,"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/rellyson.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}},"created_at":"2023-11-29T19:01:17.000Z","updated_at":"2023-11-30T19:33:29.373Z","dependencies_parsed_at":"2023-11-30T19:43:31.410Z","dependency_job_id":null,"html_url":"https://github.com/rellyson/argo-cd","commit_stats":null,"previous_names":["rellyson/argo-cd"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/rellyson/argo-cd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rellyson%2Fargo-cd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rellyson%2Fargo-cd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rellyson%2Fargo-cd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rellyson%2Fargo-cd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rellyson","download_url":"https://codeload.github.com/rellyson/argo-cd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rellyson%2Fargo-cd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28508464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T11:50:55.898Z","status":"ssl_error","status_checked_at":"2026-01-17T11:50:55.569Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["argo-cd","argocd","cd","continuous-delivery","gitops","k8s","kubernetes"],"created_at":"2026-01-17T12:00:28.887Z","updated_at":"2026-01-17T12:00:49.806Z","avatar_url":"https://github.com/rellyson.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitOps with Argo CD\n\n![argocd-gitops](./assets/argo-cd-gitops.png)\n\n## Traditional CI/CD workflows\n\nTraditional CI/CD workflows consists in two steps:\n\n- Test, build, and push images to a container repository (CI)\n- Deploy the application to the environment (CD)\n\n```mermaid\nflowchart LR\n    subgraph CI\n     test\n     build\n     pushImage\n    end\n\n    subgraph CD\n    deploy\n    end\n\n    CI --\u003e CD\n```\n\nThis adoption addresses some challenges during deployment:\n\n- Install tools used in pipelines\n    - `kubectl`\n    - Cloud CLIs (`aws-cli`, `azure-cli` and so on)\n    - etc\n- Manage cloud credentials\n- Manage `kubectl` access\n- Manage external tools access (if have 5 external tools, **need to\nmanage** 5 accesses)\n- If the deployment creates cloud resources, it need to be executed\n**every time** you want to create those resources.\n\n## What is GitOps?\n\nGitOps is a framework that defines [Git](https://git-scm.com/) as\nthe **Single Source of Truth (SST)**. This way, a repository reflects\n**exactly** what should be in the environment. It automates the\nprovision of everything an application needs to run (_X as code_).\n\n```mermaid\nflowchart LR\n\nsubgraph x_as_code[\"fas:fa-code X as Code\"]\n    iac[\"fas:fa-file-code Infra as Code\"]\n    cac[\"fas:fa-file-code  Config as Code\"]\n    etc[...]\nend\n\ngit[\"fab:fa-git-alt Git\n    (Single Source of Truth)\n    \"]\nci_cd[\"fas:fa-spinner CI/CD\"]\nenv[\"fas:fa-cloud Environment\"]\n\nx_as_code --\u003e|leaves at| git --\u003e|changes| ci_cd --\u003e|deploys to| env\n```\n\n### Strategies\n\nThere are two strategies that can be used for applying changes \nto an environment to meet the repository desired state.\n\n#### Push based model\n\nIn the `push` base model, a repository change will **automatically\ntrigger** an action (build, deploy, etc).\n\n#### Pull based model\n\nIn the `pull` base model, an operator **watches for changes in\nthe repository** and triggers an action (build, deploy, etc) when **a\nchange is detected**.\n\n### Benefits\n\n- **Environment transparency**: The environment **will match what**\nis defined in your Git repository.\n\n- **Fast recovery/easy rollbacks**: If anything goes wrong, you can\nsimple **apply a `git revert`** and the previous state will be applied\nto the environment.\n\n- **Security**: You can **control application deployment**\nvia `git merge` permissions.\n\n- **Reliability**: If an application resource is directly removed,\nthe _reconcile_ process **will recreate the resource** \nto match the desired state.\n\n## Argo CD\n\nArgocd is a **pull model**, **gitops operator** that\nautomatically **syncs (_reconcile_)** Kubernetes\nresources in the cluster.\n\n```mermaid\nflowchart TD\n\nsubgraph x_as_code[\"fas:fa-code X as Code\"]\n    iac[\"fas:fa-file-code Infra as Code\"]\n    cac[\"fas:fa-file-code  Config as Code\"]\n    etc[...]\nend\n\ngit[\"fab:fa-git-alt Git\n    (Single Source of Truth)\n    \"]\nargo[\"fas:fa-spinner argoCD\"]\ncluster[\"fas:fa-server Kubernetes Cluster\"]\n\nx_as_code --\u003e|leaves at| git\nargo --\u003e|watches| git\nargo --\u003e|sync states in| cluster\n```\n\nIt takes a **desired state** (defined in the `Git` repository) and make\nchanges to the **actual state** to **keep states synchronized**.\n\n```mermaid\nflowchart TD\n\ngit[\"fab:fa-git-alt Git\n    (Desired state)\"]\n\nargo[\"Argo CD sync\"]\n\ncluster[\"fas:fa-server Kubernetes Cluster\n        (Actual state)\"]\n\nargo --\u003e git\nargo --\u003e cluster\n```\n\n## Deploying ArgoCD\n\nArgoCD can be deployment using the official Helm Chart, \n[available here](https://github.com/argoproj/argo-helm/blob/main/charts/argo-cd/README.md).\n\n## Defining an Application\n\nArgo applications can be defined declaratively using Kubernetes manifests.\nAn example can be found in `app/application.yaml` file.\n\nIn this [link](https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/) you can see how an application is declared using argo `CRDs`.\n\n## Useful links\n\n- [Argo CD official docs](https://argo-cd.readthedocs.io/en/stable/)\n- [Devops Journey - Explaining GitOps](https://www.youtube.com/watch?v=dIaX5IhRqkI)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frellyson%2Fargo-cd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frellyson%2Fargo-cd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frellyson%2Fargo-cd/lists"}