opencode-skills-collection 4.0.68 → 4.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundled-skills/.antigravity-install-manifest.json +266 -1
- package/bundled-skills/access-review/SKILL.md +394 -0
- package/bundled-skills/access-review/references/details.md +121 -0
- package/bundled-skills/agent-evals/SKILL.md +420 -0
- package/bundled-skills/agent-observability/SKILL.md +346 -0
- package/bundled-skills/agent-observability/references/details.md +786 -0
- package/bundled-skills/ai-agent-security/SKILL.md +393 -0
- package/bundled-skills/ai-agent-security/references/details.md +912 -0
- package/bundled-skills/ai-coding-agent-guardrails/SKILL.md +442 -0
- package/bundled-skills/ai-coding-agent-guardrails/references/details.md +753 -0
- package/bundled-skills/ai-inference-service-mesh/SKILL.md +449 -0
- package/bundled-skills/ai-pipeline-orchestration/SKILL.md +287 -0
- package/bundled-skills/ai-red-teaming/SKILL.md +409 -0
- package/bundled-skills/ai-security-hardening/SKILL.md +343 -0
- package/bundled-skills/ai-sre-incident-response/SKILL.md +336 -0
- package/bundled-skills/alerting-oncall/SKILL.md +458 -0
- package/bundled-skills/alerting-oncall/references/details.md +84 -0
- package/bundled-skills/apk-redteam-pipeline/SKILL.md +446 -0
- package/bundled-skills/argocd-gitops/SKILL.md +469 -0
- package/bundled-skills/arm-templates/SKILL.md +438 -0
- package/bundled-skills/arm-templates/references/details.md +64 -0
- package/bundled-skills/asset-inventory/SKILL.md +412 -0
- package/bundled-skills/asset-inventory/references/details.md +127 -0
- package/bundled-skills/audit-logging/SKILL.md +476 -0
- package/bundled-skills/aws-cloudtrail/SKILL.md +486 -0
- package/bundled-skills/aws-cost-optimization/SKILL.md +331 -0
- package/bundled-skills/aws-ec2/SKILL.md +426 -0
- package/bundled-skills/aws-ecs-fargate/SKILL.md +388 -0
- package/bundled-skills/aws-iam/SKILL.md +463 -0
- package/bundled-skills/aws-lambda/SKILL.md +428 -0
- package/bundled-skills/aws-rds/SKILL.md +380 -0
- package/bundled-skills/aws-s3/SKILL.md +434 -0
- package/bundled-skills/aws-secrets-manager/SKILL.md +486 -0
- package/bundled-skills/aws-vpc/SKILL.md +436 -0
- package/bundled-skills/azure-ai-document-intelligence-ts/SKILL.md +1 -1
- package/bundled-skills/azure-aks/SKILL.md +423 -0
- package/bundled-skills/azure-devops/SKILL.md +457 -0
- package/bundled-skills/azure-functions-devsec/SKILL.md +436 -0
- package/bundled-skills/azure-keyvault/SKILL.md +455 -0
- package/bundled-skills/azure-keyvault/references/details.md +83 -0
- package/bundled-skills/azure-monitor-audit/SKILL.md +379 -0
- package/bundled-skills/azure-networking/SKILL.md +448 -0
- package/bundled-skills/azure-networking/references/details.md +135 -0
- package/bundled-skills/azure-sql/SKILL.md +413 -0
- package/bundled-skills/azure-sql/references/details.md +113 -0
- package/bundled-skills/azure-vms/SKILL.md +402 -0
- package/bundled-skills/azure-vms/references/details.md +134 -0
- package/bundled-skills/backup-recovery/SKILL.md +388 -0
- package/bundled-skills/bb-methodology/SKILL.md +451 -0
- package/bundled-skills/bb-methodology/references/details.md +120 -0
- package/bundled-skills/block-storage/SKILL.md +371 -0
- package/bundled-skills/blue-green-deploy/SKILL.md +453 -0
- package/bundled-skills/blue-green-deploy/references/details.md +90 -0
- package/bundled-skills/bug-bounty/SKILL.md +447 -0
- package/bundled-skills/bug-bounty/references/details.md +1316 -0
- package/bundled-skills/bugcrowd-reporting/SKILL.md +351 -0
- package/bundled-skills/business-continuity/SKILL.md +463 -0
- package/bundled-skills/career-ops/SKILL.md +186 -0
- package/bundled-skills/cdn-setup/SKILL.md +374 -0
- package/bundled-skills/change-management/SKILL.md +438 -0
- package/bundled-skills/change-management/references/details.md +105 -0
- package/bundled-skills/circleci/SKILL.md +475 -0
- package/bundled-skills/cis-benchmarks/SKILL.md +150 -0
- package/bundled-skills/cloudflare-pages/SKILL.md +318 -0
- package/bundled-skills/cloudflare-r2/SKILL.md +353 -0
- package/bundled-skills/cloudflare-workers/SKILL.md +415 -0
- package/bundled-skills/cloudflare-zero-trust/SKILL.md +361 -0
- package/bundled-skills/cloudformation/SKILL.md +461 -0
- package/bundled-skills/constraint-driven-development/SKILL.md +335 -0
- package/bundled-skills/constraint-driven-development/references/floor-guard.md +99 -0
- package/bundled-skills/container-hardening/SKILL.md +126 -0
- package/bundled-skills/container-registries/SKILL.md +435 -0
- package/bundled-skills/container-scanning/SKILL.md +416 -0
- package/bundled-skills/convex-backend/SKILL.md +338 -0
- package/bundled-skills/dast-scanning/SKILL.md +437 -0
- package/bundled-skills/database-backups/SKILL.md +425 -0
- package/bundled-skills/datadog/SKILL.md +487 -0
- package/bundled-skills/dependency-scanning/SKILL.md +457 -0
- package/bundled-skills/devcontainers-nix/SKILL.md +416 -0
- package/bundled-skills/disaster-recovery/SKILL.md +374 -0
- package/bundled-skills/disaster-recovery/references/details.md +219 -0
- package/bundled-skills/dns-management/SKILL.md +375 -0
- package/bundled-skills/docker-compose/SKILL.md +482 -0
- package/bundled-skills/docker-management/SKILL.md +426 -0
- package/bundled-skills/ebpf-observability/SKILL.md +436 -0
- package/bundled-skills/ebpf-observability/references/details.md +542 -0
- package/bundled-skills/elk-stack/SKILL.md +487 -0
- package/bundled-skills/enterprise-vpn-attack/SKILL.md +395 -0
- package/bundled-skills/evidence-hygiene/SKILL.md +404 -0
- package/bundled-skills/feature-flags/SKILL.md +426 -0
- package/bundled-skills/feature-flags/references/details.md +86 -0
- package/bundled-skills/fedramp-compliance/SKILL.md +453 -0
- package/bundled-skills/firebase-app-platform/SKILL.md +381 -0
- package/bundled-skills/firewall-config/SKILL.md +479 -0
- package/bundled-skills/gcp-audit-logs/SKILL.md +452 -0
- package/bundled-skills/gcp-audit-logs/references/details.md +56 -0
- package/bundled-skills/gcp-cloud-functions/SKILL.md +284 -0
- package/bundled-skills/gcp-cloud-sql/SKILL.md +277 -0
- package/bundled-skills/gcp-compute/SKILL.md +319 -0
- package/bundled-skills/gcp-gke/SKILL.md +307 -0
- package/bundled-skills/gcp-networking/SKILL.md +293 -0
- package/bundled-skills/gcp-secret-manager/SKILL.md +421 -0
- package/bundled-skills/gcp-secret-manager/references/details.md +131 -0
- package/bundled-skills/gdpr-compliance/SKILL.md +451 -0
- package/bundled-skills/gdpr-compliance/references/details.md +145 -0
- package/bundled-skills/geo-audit/SKILL.md +368 -0
- package/bundled-skills/geo-brand-mentions/SKILL.md +68 -0
- package/bundled-skills/geo-brand-mentions/references/details.md +471 -0
- package/bundled-skills/geo-citability/SKILL.md +350 -0
- package/bundled-skills/geo-compare/SKILL.md +340 -0
- package/bundled-skills/geo-content/SKILL.md +383 -0
- package/bundled-skills/geo-crawlers/SKILL.md +408 -0
- package/bundled-skills/geo-llmstxt/SKILL.md +464 -0
- package/bundled-skills/geo-platform-optimizer/SKILL.md +314 -0
- package/bundled-skills/geo-proposal/SKILL.md +378 -0
- package/bundled-skills/geo-prospect/SKILL.md +225 -0
- package/bundled-skills/geo-report/SKILL.md +436 -0
- package/bundled-skills/geo-report-pdf/SKILL.md +157 -0
- package/bundled-skills/geo-schema/SKILL.md +408 -0
- package/bundled-skills/geo-technical/SKILL.md +78 -0
- package/bundled-skills/geo-technical/references/details.md +543 -0
- package/bundled-skills/git-workflow/SKILL.md +460 -0
- package/bundled-skills/github-actions/SKILL.md +368 -0
- package/bundled-skills/gitlab-ci/SKILL.md +340 -0
- package/bundled-skills/gpu-kubernetes-operations/SKILL.md +468 -0
- package/bundled-skills/gpu-server-management/SKILL.md +236 -0
- package/bundled-skills/hashicorp-vault/SKILL.md +408 -0
- package/bundled-skills/helm-charts/SKILL.md +469 -0
- package/bundled-skills/hipaa-compliance/SKILL.md +451 -0
- package/bundled-skills/hunt-aspnet/SKILL.md +321 -0
- package/bundled-skills/hunt-ato/SKILL.md +184 -0
- package/bundled-skills/hunt-auth-bypass/SKILL.md +426 -0
- package/bundled-skills/hunt-auth-bypass/references/details.md +80 -0
- package/bundled-skills/hunt-brute-force/SKILL.md +341 -0
- package/bundled-skills/hunt-business-logic/SKILL.md +281 -0
- package/bundled-skills/hunt-cache-poison/SKILL.md +382 -0
- package/bundled-skills/hunt-captcha-bypass/SKILL.md +136 -0
- package/bundled-skills/hunt-cicd/SKILL.md +311 -0
- package/bundled-skills/hunt-clickjacking/SKILL.md +110 -0
- package/bundled-skills/hunt-cors/SKILL.md +335 -0
- package/bundled-skills/hunt-dom/SKILL.md +323 -0
- package/bundled-skills/hunt-exceptional-conditions/SKILL.md +111 -0
- package/bundled-skills/hunt-file-upload/SKILL.md +202 -0
- package/bundled-skills/hunt-fintech-graphql/SKILL.md +289 -0
- package/bundled-skills/hunt-forgot-password/SKILL.md +114 -0
- package/bundled-skills/hunt-grpc/SKILL.md +317 -0
- package/bundled-skills/hunt-host-header/SKILL.md +309 -0
- package/bundled-skills/hunt-html-injection/SKILL.md +106 -0
- package/bundled-skills/hunt-http-smuggling/SKILL.md +129 -0
- package/bundled-skills/hunt-http-smuggling/references/phase2h-smuggling-cachepoison.md +177 -0
- package/bundled-skills/hunt-idor/SKILL.md +434 -0
- package/bundled-skills/hunt-jwt-crypto/SKILL.md +221 -0
- package/bundled-skills/hunt-k8s/SKILL.md +337 -0
- package/bundled-skills/hunt-laravel/SKILL.md +255 -0
- package/bundled-skills/hunt-ldap/SKILL.md +351 -0
- package/bundled-skills/hunt-lfi/SKILL.md +311 -0
- package/bundled-skills/hunt-llm-ai/SKILL.md +289 -0
- package/bundled-skills/hunt-mfa-bypass/SKILL.md +177 -0
- package/bundled-skills/hunt-misc/SKILL.md +378 -0
- package/bundled-skills/hunt-nextjs/SKILL.md +299 -0
- package/bundled-skills/hunt-nodejs/SKILL.md +263 -0
- package/bundled-skills/hunt-nosqli/SKILL.md +210 -0
- package/bundled-skills/hunt-ntlm-info/SKILL.md +314 -0
- package/bundled-skills/hunt-oauth/SKILL.md +459 -0
- package/bundled-skills/hunt-open-redirect/SKILL.md +223 -0
- package/bundled-skills/hunt-race-condition/SKILL.md +381 -0
- package/bundled-skills/hunt-race-condition/references/details.md +159 -0
- package/bundled-skills/hunt-rag-vector/SKILL.md +212 -0
- package/bundled-skills/hunt-rce/SKILL.md +444 -0
- package/bundled-skills/hunt-rce/references/details.md +110 -0
- package/bundled-skills/hunt-saml/SKILL.md +156 -0
- package/bundled-skills/hunt-session/SKILL.md +342 -0
- package/bundled-skills/hunt-shadow-api/SKILL.md +198 -0
- package/bundled-skills/hunt-source-leak/SKILL.md +345 -0
- package/bundled-skills/hunt-spa-api/SKILL.md +163 -0
- package/bundled-skills/hunt-springboot/SKILL.md +285 -0
- package/bundled-skills/hunt-sqli/SKILL.md +466 -0
- package/bundled-skills/hunt-ssrf/SKILL.md +396 -0
- package/bundled-skills/hunt-ssrf/references/details.md +179 -0
- package/bundled-skills/hunt-ssti/SKILL.md +163 -0
- package/bundled-skills/hunt-subdomain/SKILL.md +379 -0
- package/bundled-skills/hunt-tls-network/SKILL.md +399 -0
- package/bundled-skills/hunt-xxe/SKILL.md +466 -0
- package/bundled-skills/i-have-adhd/SKILL.md +170 -0
- package/bundled-skills/identity-access-management/SKILL.md +382 -0
- package/bundled-skills/identity-access-management/references/details.md +524 -0
- package/bundled-skills/incident-management/SKILL.md +484 -0
- package/bundled-skills/incident-response/SKILL.md +448 -0
- package/bundled-skills/incident-response/references/details.md +113 -0
- package/bundled-skills/interview-me/SKILL.md +248 -0
- package/bundled-skills/iso27001-compliance/SKILL.md +460 -0
- package/bundled-skills/jenkins/SKILL.md +462 -0
- package/bundled-skills/jev-use/SKILL.md +158 -0
- package/bundled-skills/kubernetes-hardening/SKILL.md +154 -0
- package/bundled-skills/kubernetes-ops/SKILL.md +449 -0
- package/bundled-skills/kubernetes-ops/references/details.md +108 -0
- package/bundled-skills/kustomize/SKILL.md +478 -0
- package/bundled-skills/linux-administration/SKILL.md +367 -0
- package/bundled-skills/linux-hardening/SKILL.md +154 -0
- package/bundled-skills/llm-app-security/SKILL.md +389 -0
- package/bundled-skills/llm-app-security/references/details.md +674 -0
- package/bundled-skills/llm-caching/SKILL.md +334 -0
- package/bundled-skills/llm-cost-optimization/SKILL.md +311 -0
- package/bundled-skills/llm-fine-tuning/SKILL.md +329 -0
- package/bundled-skills/llm-gateway/SKILL.md +282 -0
- package/bundled-skills/llm-inference-scaling/SKILL.md +286 -0
- package/bundled-skills/llmops-platform-engineering/SKILL.md +472 -0
- package/bundled-skills/load-balancing/SKILL.md +403 -0
- package/bundled-skills/loki-logging/SKILL.md +479 -0
- package/bundled-skills/m365-entra-attack/SKILL.md +423 -0
- package/bundled-skills/mac-mini-llm-lab/SKILL.md +350 -0
- package/bundled-skills/mcp-server-security/SKILL.md +356 -0
- package/bundled-skills/mcp-server-security/references/details.md +745 -0
- package/bundled-skills/mdm-device-management/SKILL.md +404 -0
- package/bundled-skills/mdm-device-management/references/details.md +410 -0
- package/bundled-skills/meme-coin-audit/SKILL.md +402 -0
- package/bundled-skills/mid-engagement-ir-detection/SKILL.md +377 -0
- package/bundled-skills/model-registry-governance/SKILL.md +452 -0
- package/bundled-skills/model-serving-kubernetes/SKILL.md +339 -0
- package/bundled-skills/model-supply-chain-security/SKILL.md +427 -0
- package/bundled-skills/mongodb/SKILL.md +436 -0
- package/bundled-skills/multi-tenant-llm-hosting/SKILL.md +435 -0
- package/bundled-skills/multi-tenant-llm-hosting/references/details.md +211 -0
- package/bundled-skills/mysql/SKILL.md +390 -0
- package/bundled-skills/new-relic/SKILL.md +472 -0
- package/bundled-skills/nfs-storage/SKILL.md +356 -0
- package/bundled-skills/object-storage/SKILL.md +378 -0
- package/bundled-skills/offensive-osint/SKILL.md +443 -0
- package/bundled-skills/okta-attack/SKILL.md +436 -0
- package/bundled-skills/ollama-stack/SKILL.md +379 -0
- package/bundled-skills/openclaw-deployment-hardening/SKILL.md +135 -0
- package/bundled-skills/openclaw-local-mac-mini/SKILL.md +426 -0
- package/bundled-skills/openclaw-local-mac-mini/references/details.md +221 -0
- package/bundled-skills/openclaw-security-hardening/SKILL.md +135 -0
- package/bundled-skills/openshift/SKILL.md +485 -0
- package/bundled-skills/opentelemetry/SKILL.md +438 -0
- package/bundled-skills/opentelemetry/references/details.md +78 -0
- package/bundled-skills/opentofu-migration/SKILL.md +349 -0
- package/bundled-skills/osint-methodology/SKILL.md +460 -0
- package/bundled-skills/osint-methodology/references/details.md +1350 -0
- package/bundled-skills/pci-dss-compliance/SKILL.md +446 -0
- package/bundled-skills/penetration-testing/SKILL.md +152 -0
- package/bundled-skills/performance-tuning/SKILL.md +381 -0
- package/bundled-skills/planetscale/SKILL.md +297 -0
- package/bundled-skills/platform-engineering/SKILL.md +348 -0
- package/bundled-skills/platform-engineering/references/details.md +944 -0
- package/bundled-skills/podman/SKILL.md +405 -0
- package/bundled-skills/policy-as-code/SKILL.md +434 -0
- package/bundled-skills/policy-as-code/references/details.md +204 -0
- package/bundled-skills/postgresql-devsec/SKILL.md +378 -0
- package/bundled-skills/prometheus-grafana/SKILL.md +469 -0
- package/bundled-skills/prompt-injection-defense/SKILL.md +483 -0
- package/bundled-skills/rag-infrastructure/SKILL.md +269 -0
- package/bundled-skills/rag-observability-evals/SKILL.md +444 -0
- package/bundled-skills/rag-observability-evals/references/details.md +92 -0
- package/bundled-skills/recon-scope-triage/SKILL.md +128 -0
- package/bundled-skills/redis/SKILL.md +421 -0
- package/bundled-skills/redteam-report-template/SKILL.md +370 -0
- package/bundled-skills/report-writing/SKILL.md +426 -0
- package/bundled-skills/report-writing/references/details.md +187 -0
- package/bundled-skills/reverse-proxy/SKILL.md +420 -0
- package/bundled-skills/runbook-creation/SKILL.md +438 -0
- package/bundled-skills/runbook-creation/references/details.md +71 -0
- package/bundled-skills/saas-security-posture/SKILL.md +415 -0
- package/bundled-skills/sast-scanning/SKILL.md +444 -0
- package/bundled-skills/sbom-supply-chain/SKILL.md +433 -0
- package/bundled-skills/security-arsenal/SKILL.md +446 -0
- package/bundled-skills/security-arsenal/references/details.md +540 -0
- package/bundled-skills/security-automation/SKILL.md +146 -0
- package/bundled-skills/semantic-versioning/SKILL.md +434 -0
- package/bundled-skills/semantic-versioning/references/details.md +83 -0
- package/bundled-skills/service-mesh/SKILL.md +422 -0
- package/bundled-skills/soc2-compliance/SKILL.md +409 -0
- package/bundled-skills/sops-encryption/SKILL.md +124 -0
- package/bundled-skills/sre-dashboards/SKILL.md +143 -0
- package/bundled-skills/ssh-configuration/SKILL.md +324 -0
- package/bundled-skills/ssl-tls-management/SKILL.md +428 -0
- package/bundled-skills/ssl-tls-management/references/details.md +99 -0
- package/bundled-skills/startup-it-troubleshooting/SKILL.md +415 -0
- package/bundled-skills/supply-chain-attack-recon/SKILL.md +453 -0
- package/bundled-skills/supply-chain-attack-recon/references/details.md +258 -0
- package/bundled-skills/systemd-services/SKILL.md +379 -0
- package/bundled-skills/terraform-aws/SKILL.md +125 -0
- package/bundled-skills/terraform-azure/SKILL.md +415 -0
- package/bundled-skills/terraform-azure/references/details.md +231 -0
- package/bundled-skills/terraform-gcp/SKILL.md +369 -0
- package/bundled-skills/threat-modeling/SKILL.md +487 -0
- package/bundled-skills/user-management/SKILL.md +383 -0
- package/bundled-skills/using-agent-skills/SKILL.md +220 -0
- package/bundled-skills/vector-database-ops/SKILL.md +300 -0
- package/bundled-skills/vendor-management/SKILL.md +439 -0
- package/bundled-skills/vendor-management/references/details.md +109 -0
- package/bundled-skills/vercel-deployments/SKILL.md +296 -0
- package/bundled-skills/vllm-server/SKILL.md +236 -0
- package/bundled-skills/vmware-vcenter-attack/SKILL.md +412 -0
- package/bundled-skills/vpn-setup/SKILL.md +452 -0
- package/bundled-skills/vulnerability-scanning/SKILL.md +448 -0
- package/bundled-skills/waf-setup/SKILL.md +354 -0
- package/bundled-skills/waf-setup/references/details.md +211 -0
- package/bundled-skills/web2-recon/SKILL.md +440 -0
- package/bundled-skills/web2-recon/references/details.md +319 -0
- package/bundled-skills/web3-audit/SKILL.md +445 -0
- package/bundled-skills/web3-audit/references/details.md +224 -0
- package/bundled-skills/windows-hardening/SKILL.md +454 -0
- package/bundled-skills/windows-hardening/references/details.md +204 -0
- package/bundled-skills/windows-server/SKILL.md +318 -0
- package/bundled-skills/zero-trust/SKILL.md +461 -0
- package/package.json +1 -1
- package/skills_index.json +6943 -323
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: argocd-gitops
|
|
3
|
+
description: Implement GitOps with ArgoCD for declarative Kubernetes deployments.
|
|
4
|
+
category: devops
|
|
5
|
+
risk: critical
|
|
6
|
+
source: https://github.com/BagelHole/DevOps-Security-Agent-Skills
|
|
7
|
+
source_repo: BagelHole/DevOps-Security-Agent-Skills
|
|
8
|
+
source_type: community
|
|
9
|
+
date_added: '2026-09-20'
|
|
10
|
+
license: MIT
|
|
11
|
+
license_source: https://github.com/BagelHole/DevOps-Security-Agent-Skills/blob/main/LICENSE
|
|
12
|
+
compatibility: Requires the relevant platform CLIs (kubectl, helm, terraform, git,
|
|
13
|
+
CI runners) and authorized access to the target environment. Docs-only; helper scripts
|
|
14
|
+
and templates not bundled.
|
|
15
|
+
metadata:
|
|
16
|
+
author: devops-skills
|
|
17
|
+
version: '1.0'
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# ArgoCD GitOps
|
|
21
|
+
|
|
22
|
+
Implement declarative continuous delivery for Kubernetes with ArgoCD.
|
|
23
|
+
|
|
24
|
+
## When to Use This Skill
|
|
25
|
+
|
|
26
|
+
Use this skill when:
|
|
27
|
+
- Implementing GitOps workflows for Kubernetes
|
|
28
|
+
- Automating deployments from Git repositories
|
|
29
|
+
- Managing multiple environments declaratively
|
|
30
|
+
- Implementing progressive delivery strategies
|
|
31
|
+
- Synchronizing cluster state with Git
|
|
32
|
+
|
|
33
|
+
## Prerequisites
|
|
34
|
+
|
|
35
|
+
- Kubernetes cluster with ArgoCD installed
|
|
36
|
+
- kubectl configured
|
|
37
|
+
- Git repository for manifests
|
|
38
|
+
- ArgoCD CLI (optional)
|
|
39
|
+
|
|
40
|
+
## Installation
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# Create namespace
|
|
44
|
+
kubectl create namespace argocd
|
|
45
|
+
|
|
46
|
+
# Install ArgoCD
|
|
47
|
+
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
|
|
48
|
+
|
|
49
|
+
# Get admin password
|
|
50
|
+
kubectl -n argocd get secret argocd-initial-admin-secret \
|
|
51
|
+
-o jsonpath="{.data.password}" | base64 -d
|
|
52
|
+
|
|
53
|
+
# Port forward to access UI
|
|
54
|
+
kubectl port-forward svc/argocd-server -n argocd 8080:443
|
|
55
|
+
|
|
56
|
+
# Login with CLI
|
|
57
|
+
argocd login localhost:8080
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Application Definition
|
|
61
|
+
|
|
62
|
+
### Basic Application
|
|
63
|
+
|
|
64
|
+
```yaml
|
|
65
|
+
apiVersion: argoproj.io/v1alpha1
|
|
66
|
+
kind: Application
|
|
67
|
+
metadata:
|
|
68
|
+
name: myapp
|
|
69
|
+
namespace: argocd
|
|
70
|
+
spec:
|
|
71
|
+
project: default
|
|
72
|
+
source:
|
|
73
|
+
repoURL: https://github.com/org/myapp-manifests.git
|
|
74
|
+
targetRevision: main
|
|
75
|
+
path: environments/production
|
|
76
|
+
destination:
|
|
77
|
+
server: https://kubernetes.default.svc
|
|
78
|
+
namespace: myapp
|
|
79
|
+
syncPolicy:
|
|
80
|
+
automated:
|
|
81
|
+
prune: true
|
|
82
|
+
selfHeal: true
|
|
83
|
+
syncOptions:
|
|
84
|
+
- CreateNamespace=true
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Helm Application
|
|
88
|
+
|
|
89
|
+
```yaml
|
|
90
|
+
apiVersion: argoproj.io/v1alpha1
|
|
91
|
+
kind: Application
|
|
92
|
+
metadata:
|
|
93
|
+
name: myapp-helm
|
|
94
|
+
namespace: argocd
|
|
95
|
+
spec:
|
|
96
|
+
project: default
|
|
97
|
+
source:
|
|
98
|
+
repoURL: https://github.com/org/myapp-chart.git
|
|
99
|
+
targetRevision: main
|
|
100
|
+
path: charts/myapp
|
|
101
|
+
helm:
|
|
102
|
+
valueFiles:
|
|
103
|
+
- values.yaml
|
|
104
|
+
- values-production.yaml
|
|
105
|
+
parameters:
|
|
106
|
+
- name: replicaCount
|
|
107
|
+
value: "3"
|
|
108
|
+
- name: image.tag
|
|
109
|
+
value: "2.0.0"
|
|
110
|
+
destination:
|
|
111
|
+
server: https://kubernetes.default.svc
|
|
112
|
+
namespace: myapp
|
|
113
|
+
syncPolicy:
|
|
114
|
+
automated:
|
|
115
|
+
prune: true
|
|
116
|
+
selfHeal: true
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### Kustomize Application
|
|
120
|
+
|
|
121
|
+
```yaml
|
|
122
|
+
apiVersion: argoproj.io/v1alpha1
|
|
123
|
+
kind: Application
|
|
124
|
+
metadata:
|
|
125
|
+
name: myapp-kustomize
|
|
126
|
+
namespace: argocd
|
|
127
|
+
spec:
|
|
128
|
+
project: default
|
|
129
|
+
source:
|
|
130
|
+
repoURL: https://github.com/org/myapp-manifests.git
|
|
131
|
+
targetRevision: main
|
|
132
|
+
path: overlays/production
|
|
133
|
+
kustomize:
|
|
134
|
+
images:
|
|
135
|
+
- myapp=myregistry/myapp:2.0.0
|
|
136
|
+
destination:
|
|
137
|
+
server: https://kubernetes.default.svc
|
|
138
|
+
namespace: myapp
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
## Projects
|
|
142
|
+
|
|
143
|
+
```yaml
|
|
144
|
+
apiVersion: argoproj.io/v1alpha1
|
|
145
|
+
kind: AppProject
|
|
146
|
+
metadata:
|
|
147
|
+
name: myproject
|
|
148
|
+
namespace: argocd
|
|
149
|
+
spec:
|
|
150
|
+
description: My Project
|
|
151
|
+
sourceRepos:
|
|
152
|
+
- https://github.com/org/*
|
|
153
|
+
destinations:
|
|
154
|
+
- namespace: myapp-*
|
|
155
|
+
server: https://kubernetes.default.svc
|
|
156
|
+
clusterResourceWhitelist:
|
|
157
|
+
- group: ''
|
|
158
|
+
kind: Namespace
|
|
159
|
+
namespaceResourceWhitelist:
|
|
160
|
+
- group: '*'
|
|
161
|
+
kind: '*'
|
|
162
|
+
roles:
|
|
163
|
+
- name: developer
|
|
164
|
+
description: Developer role
|
|
165
|
+
policies:
|
|
166
|
+
- p, proj:myproject:developer, applications, get, myproject/*, allow
|
|
167
|
+
- p, proj:myproject:developer, applications, sync, myproject/*, allow
|
|
168
|
+
groups:
|
|
169
|
+
- developers
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
## Application Sets
|
|
173
|
+
|
|
174
|
+
### Git Generator
|
|
175
|
+
|
|
176
|
+
```yaml
|
|
177
|
+
apiVersion: argoproj.io/v1alpha1
|
|
178
|
+
kind: ApplicationSet
|
|
179
|
+
metadata:
|
|
180
|
+
name: myapp-environments
|
|
181
|
+
namespace: argocd
|
|
182
|
+
spec:
|
|
183
|
+
generators:
|
|
184
|
+
- git:
|
|
185
|
+
repoURL: https://github.com/org/myapp-manifests.git
|
|
186
|
+
revision: main
|
|
187
|
+
directories:
|
|
188
|
+
- path: environments/*
|
|
189
|
+
template:
|
|
190
|
+
metadata:
|
|
191
|
+
name: 'myapp-{{path.basename}}'
|
|
192
|
+
spec:
|
|
193
|
+
project: default
|
|
194
|
+
source:
|
|
195
|
+
repoURL: https://github.com/org/myapp-manifests.git
|
|
196
|
+
targetRevision: main
|
|
197
|
+
path: '{{path}}'
|
|
198
|
+
destination:
|
|
199
|
+
server: https://kubernetes.default.svc
|
|
200
|
+
namespace: 'myapp-{{path.basename}}'
|
|
201
|
+
syncPolicy:
|
|
202
|
+
automated:
|
|
203
|
+
prune: true
|
|
204
|
+
selfHeal: true
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
### List Generator
|
|
208
|
+
|
|
209
|
+
```yaml
|
|
210
|
+
apiVersion: argoproj.io/v1alpha1
|
|
211
|
+
kind: ApplicationSet
|
|
212
|
+
metadata:
|
|
213
|
+
name: myapp-clusters
|
|
214
|
+
namespace: argocd
|
|
215
|
+
spec:
|
|
216
|
+
generators:
|
|
217
|
+
- list:
|
|
218
|
+
elements:
|
|
219
|
+
- cluster: production
|
|
220
|
+
url: https://prod-cluster.example.com
|
|
221
|
+
- cluster: staging
|
|
222
|
+
url: https://staging-cluster.example.com
|
|
223
|
+
template:
|
|
224
|
+
metadata:
|
|
225
|
+
name: 'myapp-{{cluster}}'
|
|
226
|
+
spec:
|
|
227
|
+
project: default
|
|
228
|
+
source:
|
|
229
|
+
repoURL: https://github.com/org/myapp-manifests.git
|
|
230
|
+
targetRevision: main
|
|
231
|
+
path: 'environments/{{cluster}}'
|
|
232
|
+
destination:
|
|
233
|
+
server: '{{url}}'
|
|
234
|
+
namespace: myapp
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Matrix Generator
|
|
238
|
+
|
|
239
|
+
```yaml
|
|
240
|
+
apiVersion: argoproj.io/v1alpha1
|
|
241
|
+
kind: ApplicationSet
|
|
242
|
+
metadata:
|
|
243
|
+
name: myapp-matrix
|
|
244
|
+
namespace: argocd
|
|
245
|
+
spec:
|
|
246
|
+
generators:
|
|
247
|
+
- matrix:
|
|
248
|
+
generators:
|
|
249
|
+
- git:
|
|
250
|
+
repoURL: https://github.com/org/myapp-manifests.git
|
|
251
|
+
revision: main
|
|
252
|
+
directories:
|
|
253
|
+
- path: apps/*
|
|
254
|
+
- list:
|
|
255
|
+
elements:
|
|
256
|
+
- env: staging
|
|
257
|
+
- env: production
|
|
258
|
+
template:
|
|
259
|
+
metadata:
|
|
260
|
+
name: '{{path.basename}}-{{env}}'
|
|
261
|
+
spec:
|
|
262
|
+
project: default
|
|
263
|
+
source:
|
|
264
|
+
repoURL: https://github.com/org/myapp-manifests.git
|
|
265
|
+
targetRevision: main
|
|
266
|
+
path: '{{path}}/overlays/{{env}}'
|
|
267
|
+
destination:
|
|
268
|
+
server: https://kubernetes.default.svc
|
|
269
|
+
namespace: '{{path.basename}}-{{env}}'
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
## Sync Policies
|
|
273
|
+
|
|
274
|
+
### Automated Sync
|
|
275
|
+
|
|
276
|
+
```yaml
|
|
277
|
+
syncPolicy:
|
|
278
|
+
automated:
|
|
279
|
+
prune: true # Delete resources not in Git
|
|
280
|
+
selfHeal: true # Revert manual changes
|
|
281
|
+
allowEmpty: false # Don't sync empty directories
|
|
282
|
+
syncOptions:
|
|
283
|
+
- CreateNamespace=true
|
|
284
|
+
- PrunePropagationPolicy=foreground
|
|
285
|
+
- PruneLast=true
|
|
286
|
+
retry:
|
|
287
|
+
limit: 5
|
|
288
|
+
backoff:
|
|
289
|
+
duration: 5s
|
|
290
|
+
factor: 2
|
|
291
|
+
maxDuration: 3m
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
### Sync Waves
|
|
295
|
+
|
|
296
|
+
```yaml
|
|
297
|
+
# In Kubernetes manifests
|
|
298
|
+
apiVersion: v1
|
|
299
|
+
kind: ConfigMap
|
|
300
|
+
metadata:
|
|
301
|
+
name: myconfig
|
|
302
|
+
annotations:
|
|
303
|
+
argocd.argoproj.io/sync-wave: "-1" # Sync first
|
|
304
|
+
---
|
|
305
|
+
apiVersion: apps/v1
|
|
306
|
+
kind: Deployment
|
|
307
|
+
metadata:
|
|
308
|
+
name: myapp
|
|
309
|
+
annotations:
|
|
310
|
+
argocd.argoproj.io/sync-wave: "0" # Sync second
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
### Sync Hooks
|
|
314
|
+
|
|
315
|
+
```yaml
|
|
316
|
+
apiVersion: batch/v1
|
|
317
|
+
kind: Job
|
|
318
|
+
metadata:
|
|
319
|
+
name: migration
|
|
320
|
+
annotations:
|
|
321
|
+
argocd.argoproj.io/hook: PreSync
|
|
322
|
+
argocd.argoproj.io/hook-delete-policy: HookSucceeded
|
|
323
|
+
spec:
|
|
324
|
+
template:
|
|
325
|
+
spec:
|
|
326
|
+
containers:
|
|
327
|
+
- name: migrate
|
|
328
|
+
image: myapp:latest
|
|
329
|
+
command: ["./migrate.sh"]
|
|
330
|
+
restartPolicy: Never
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
## CLI Commands
|
|
334
|
+
|
|
335
|
+
```bash
|
|
336
|
+
# List applications
|
|
337
|
+
argocd app list
|
|
338
|
+
|
|
339
|
+
# Get application details
|
|
340
|
+
argocd app get myapp
|
|
341
|
+
|
|
342
|
+
# Sync application
|
|
343
|
+
argocd app sync myapp
|
|
344
|
+
|
|
345
|
+
# Force sync (ignore differences)
|
|
346
|
+
argocd app sync myapp --force
|
|
347
|
+
|
|
348
|
+
# View diff
|
|
349
|
+
argocd app diff myapp
|
|
350
|
+
|
|
351
|
+
# Rollback
|
|
352
|
+
argocd app rollback myapp
|
|
353
|
+
|
|
354
|
+
# Delete application
|
|
355
|
+
argocd app delete myapp
|
|
356
|
+
|
|
357
|
+
# View logs
|
|
358
|
+
argocd app logs myapp
|
|
359
|
+
|
|
360
|
+
# Hard refresh (clear cache)
|
|
361
|
+
argocd app get myapp --hard-refresh
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
## Repository Configuration
|
|
365
|
+
|
|
366
|
+
```yaml
|
|
367
|
+
apiVersion: v1
|
|
368
|
+
kind: Secret
|
|
369
|
+
metadata:
|
|
370
|
+
name: private-repo
|
|
371
|
+
namespace: argocd
|
|
372
|
+
labels:
|
|
373
|
+
argocd.argoproj.io/secret-type: repository
|
|
374
|
+
stringData:
|
|
375
|
+
url: https://github.com/org/private-repo.git
|
|
376
|
+
username: git
|
|
377
|
+
password: ghp_xxxx
|
|
378
|
+
---
|
|
379
|
+
# SSH key
|
|
380
|
+
apiVersion: v1
|
|
381
|
+
kind: Secret
|
|
382
|
+
metadata:
|
|
383
|
+
name: private-repo-ssh
|
|
384
|
+
namespace: argocd
|
|
385
|
+
labels:
|
|
386
|
+
argocd.argoproj.io/secret-type: repository
|
|
387
|
+
stringData:
|
|
388
|
+
url: git@github.com:org/private-repo.git
|
|
389
|
+
sshPrivateKey: |
|
|
390
|
+
-----BEGIN OPENSSH PRIVATE KEY-----
|
|
391
|
+
...
|
|
392
|
+
-----END OPENSSH PRIVATE KEY-----
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
## Notifications
|
|
396
|
+
|
|
397
|
+
```yaml
|
|
398
|
+
apiVersion: v1
|
|
399
|
+
kind: ConfigMap
|
|
400
|
+
metadata:
|
|
401
|
+
name: argocd-notifications-cm
|
|
402
|
+
namespace: argocd
|
|
403
|
+
data:
|
|
404
|
+
service.slack: |
|
|
405
|
+
token: $slack-token
|
|
406
|
+
template.app-deployed: |
|
|
407
|
+
message: Application {{.app.metadata.name}} is now {{.app.status.sync.status}}.
|
|
408
|
+
trigger.on-deployed: |
|
|
409
|
+
- when: app.status.operationState.phase in ['Succeeded']
|
|
410
|
+
send: [app-deployed]
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
## Common Issues
|
|
414
|
+
|
|
415
|
+
### Issue: Sync Fails with Diff
|
|
416
|
+
**Problem**: Resources show differences but are correct
|
|
417
|
+
**Solution**: Configure ignore differences
|
|
418
|
+
|
|
419
|
+
```yaml
|
|
420
|
+
spec:
|
|
421
|
+
ignoreDifferences:
|
|
422
|
+
- group: apps
|
|
423
|
+
kind: Deployment
|
|
424
|
+
jsonPointers:
|
|
425
|
+
- /spec/replicas
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
### Issue: Repository Not Accessible
|
|
429
|
+
**Problem**: ArgoCD cannot clone repository
|
|
430
|
+
**Solution**: Check repository secret, verify URL and credentials
|
|
431
|
+
|
|
432
|
+
### Issue: Application Stuck OutOfSync
|
|
433
|
+
**Problem**: Application never becomes synced
|
|
434
|
+
**Solution**: Check resource status, review events, verify manifests
|
|
435
|
+
|
|
436
|
+
### Issue: Health Check Failing
|
|
437
|
+
**Problem**: Application shows degraded health
|
|
438
|
+
**Solution**: Check custom health checks, verify probe configurations
|
|
439
|
+
|
|
440
|
+
## Best Practices
|
|
441
|
+
|
|
442
|
+
- Use ApplicationSets for multi-environment deployments
|
|
443
|
+
- Implement sync waves for ordered deployments
|
|
444
|
+
- Use projects to isolate applications
|
|
445
|
+
- Configure notifications for deployment events
|
|
446
|
+
- Implement proper RBAC with projects
|
|
447
|
+
- Use health checks for deployment verification
|
|
448
|
+
- Enable auto-pruning to remove deleted resources
|
|
449
|
+
- Keep manifests in dedicated repositories
|
|
450
|
+
|
|
451
|
+
## Related Skills
|
|
452
|
+
|
|
453
|
+
- kubernetes-ops (`kubernetes-ops`) - K8s fundamentals
|
|
454
|
+
- helm-charts (`helm-charts`) - Helm deployments
|
|
455
|
+
- kustomize (`kustomize`) - Kustomize overlays
|
|
456
|
+
|
|
457
|
+
## Limitations
|
|
458
|
+
|
|
459
|
+
- Guidance executes against real environments: confirm target, blast radius, and rollback plan before applying anything.
|
|
460
|
+
- Never deploy to production without explicit approval. Docs-only import: upstream scripts and templates not bundled.
|
|
461
|
+
|
|
462
|
+
### Example
|
|
463
|
+
|
|
464
|
+
```bash
|
|
465
|
+
git status && git diff --stat
|
|
466
|
+
kubectl diff -f manifest.yaml
|
|
467
|
+
```
|
|
468
|
+
|
|
469
|
+
> Adapted from [BagelHole/DevOps-Security-Agent-Skills](https://github.com/BagelHole/DevOps-Security-Agent-Skills) (MIT); frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance. Docs-only import: helper scripts and templates not bundled.
|