{"id":23238191,"url":"https://github.com/zkan/gitops-argocd-demo-deployment","last_synced_at":"2025-04-05T21:26:31.787Z","repository":{"id":37037154,"uuid":"439896323","full_name":"zkan/gitops-argocd-demo-deployment","owner":"zkan","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-04T04:25:35.000Z","size":50,"stargazers_count":2,"open_issues_count":0,"forks_count":13,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-12T01:40:13.284Z","etag":null,"topics":["argocd","gitops"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zkan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-19T15:17:25.000Z","updated_at":"2022-10-19T09:49:28.000Z","dependencies_parsed_at":"2022-07-08T04:42:40.729Z","dependency_job_id":null,"html_url":"https://github.com/zkan/gitops-argocd-demo-deployment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkan%2Fgitops-argocd-demo-deployment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkan%2Fgitops-argocd-demo-deployment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkan%2Fgitops-argocd-demo-deployment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkan%2Fgitops-argocd-demo-deployment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkan","download_url":"https://codeload.github.com/zkan/gitops-argocd-demo-deployment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247403609,"owners_count":20933481,"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","gitops"],"created_at":"2024-12-19T04:17:00.027Z","updated_at":"2025-04-05T21:26:31.763Z","avatar_url":"https://github.com/zkan.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitops-argocd-demo-deployment\n\nRead more about Argo CD here: [Argo CD - Declarative GitOps CD for\nKubernetes](https://argo-cd.readthedocs.io/en/stable/)\n\n## Deploying My App\n\n```sh\nkubectl create namespace myapp-dev\nkubectl apply -f myapp/dev -n myapp-dev\n```\n\n## Deploying My App with Helm\n\nRender chart templates locally:\n\n```sh\nhelm template myapp-helm myapp-helm -f myapp-helm/values-dev.yaml\n```\n\nInstall chart\n\n```sh\nkubectl create namespace myapp-helm\nhelm upgrade --install myapp-helm myapp-helm -f myapp-helm/values-dev.yaml -n myapp-helm\n```\n\nUninstall chart\n\n```sh\nhelm uninstall myapp-helm -n myapp-helm\n```\n\n## Deploying My App with Argo CD\n\n## Installing Argo CD\n\n```sh\nkubectl create namespace argocd\nkubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml\n```\n\nor\n\n```sh\nkubectl create namespace argocd\nkubectl apply -n argocd -f bootstrap/overlays/default\n```\n\nRef: https://argo-cd.readthedocs.io/en/stable/getting_started/\n\nAccess Argo CD with port-forwarding\n\n```sh\nkubectl port-forward svc/argocd-server -n argocd 8080:443\n```\n\nor\n\n```sh\nmake web\n```\n\nGet the default password\n\n```sh\nkubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath=\"{.data.password}\" | base64 -d; echo\n```\n\nor\n\n```sh\nmake passwd\n```\n\nCreate Argo CD Projects\n\n```sh\nkubectl apply -f components/argocdprojects/\n```\n\nCreate Argo CD Applications\n\n```sh\nkubectl apply -f components/applicationsets/app.yaml\nkubectl apply -f components/applicationsets/app-helm.yaml\n```\n\nor\n\n```sh\nkubectl apply -f components/applicationsets\n```\n\nTry to edit the deployment:\n\n```sh\nkubectl edit deployment -n myapp myapp-deployment\n```\n\nor\n\n```sh\nkubectl edit deployment -n myapp-helm myapp-helm-deployment\n```\n\nWe'll see that Argo CD will revert back to the desired state.\n\n## Cleaning Up\n\n```sh\nkubectl delete -f components/applicationsets\nkubectl delete -f components/argocdprojects\nkubectl delete ns myapp-dev\nkubectl delete ns myapp-helm-dev\nkubectl delete ns argocd\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkan%2Fgitops-argocd-demo-deployment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkan%2Fgitops-argocd-demo-deployment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkan%2Fgitops-argocd-demo-deployment/lists"}