{"id":15777306,"url":"https://github.com/v5tech/argocd-in-action","last_synced_at":"2026-02-10T11:31:31.649Z","repository":{"id":37452923,"uuid":"505790870","full_name":"v5tech/argocd-in-action","owner":"v5tech","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-03T06:02:09.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-08T19:23:41.249Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/v5tech.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}},"created_at":"2022-06-21T10:14:55.000Z","updated_at":"2022-06-21T12:08:05.000Z","dependencies_parsed_at":"2023-02-01T05:15:54.328Z","dependency_job_id":null,"html_url":"https://github.com/v5tech/argocd-in-action","commit_stats":null,"previous_names":["v5tech/argocd-in-action"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/v5tech/argocd-in-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v5tech%2Fargocd-in-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v5tech%2Fargocd-in-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v5tech%2Fargocd-in-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v5tech%2Fargocd-in-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/v5tech","download_url":"https://codeload.github.com/v5tech/argocd-in-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/v5tech%2Fargocd-in-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29298507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T10:40:02.018Z","status":"ssl_error","status_checked_at":"2026-02-10T10:38:28.459Z","response_time":65,"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":[],"created_at":"2024-10-04T18:00:22.108Z","updated_at":"2026-02-10T11:31:31.635Z","avatar_url":"https://github.com/v5tech.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Argo CD\n\n## 使用Helm安装Argo CD\n\n```bash\nhelm repo add argo-cd https://argoproj.github.io/argo-helm\nhelm install argocd argo-cd/argo-cd\n\nkubectl get deployment\nkubectl get services\n\nkubectl patch svc argocd-server -p '{\"spec\": {\"type\": \"LoadBalancer\"}}'\n\nkubectl get secret argocd-initial-admin-secret -o jsonpath=\"{.data.password}\" | base64 -d; echo\n```\n\n## Kubernetes集群中安装Argo CD\n\n```bash\nkubectl create namespace argocd\n# daocloud镜像加速服务\nwget -O image-filter.sh https://github.com/DaoCloud/public-image-mirror/raw/main/hack/image-filter.sh \u0026\u0026 chmod +x image-filter.sh\nwget https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml\ncat ./install.yaml | ./image-filter.sh | kubectl apply -n argocd -f -\n```\n\n## 访问Argo CD UI\n\n修改svc argocd-server为`LoadBalancer`\n\n```bash\nkubectl patch svc argocd-server -n argocd -p '{\"spec\": {\"type\": \"LoadBalancer\"}}'\n```\n\n创建argocd-server-ingress.yaml\n\n```yaml\napiVersion: networking.k8s.io/v1\nkind: Ingress\nmetadata:\n  name: argocd-server-ingress\n  namespace: argocd\n  annotations:\n    cert-manager.io/cluster-issuer: letsencrypt-prod\n    kubernetes.io/ingress.class: nginx\n    kubernetes.io/tls-acme: \"true\"\n    nginx.ingress.kubernetes.io/ssl-passthrough: \"true\"\n    nginx.ingress.kubernetes.io/backend-protocol: \"HTTPS\"\nspec:\n  rules:\n  - host: argocd.anchnet.com\n    http:\n      paths:\n      - path: /\n        pathType: Prefix\n        backend:\n          service: \n            name: argocd-server\n            port:\n              name: https\n  tls:\n  - hosts:\n    - argocd.anchnet.com\n    secretName: argocd-secret\n```\n\n查看`admin`用户密码\n\n```bash\nkubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath=\"{.data.password}\" | base64 -d; echo\n```\n\n浏览器访问 http://argocd.anchnet.com 输入用户名 `admin`及上面的密码登陆即可。\n\n\n## 创建Argo CD Application\n\n```bash\nkubectl apply -f argocd-application.yaml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv5tech%2Fargocd-in-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fv5tech%2Fargocd-in-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fv5tech%2Fargocd-in-action/lists"}