# Tridentsof Antigravity Dev Kit Gitops Patterns

> ---

- Skill: `tomevault-io/tridentsof-antigravity-dev-kit-gitops-patterns` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/tridentsof-antigravity-dev-kit-gitops-patterns`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/tridentsof-antigravity-dev-kit-gitops-patterns/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/tridentsof-antigravity-dev-kit-gitops-patterns

---

---
name: gitops-patterns
description: GitOps patterns with ArgoCD and Flux
---

# GitOps Patterns

> Git as the source of truth for infrastructure.

---

## GitOps Flow

```
Code Change → PR → Merge → CI Build → Image Push → Git Sync → Deploy
```

| Step | Tool |
|------|------|
| CI Build | Azure DevOps |
| Image Push | Azure Container Registry |
| Git Sync | ArgoCD / Flux |
| Deploy | AKS |

---

## Repository Structure

```
gitops-repo/
├── base/                 # Base manifests
│   ├── deployment.yaml
│   ├── service.yaml
│   └── kustomization.yaml
├── overlays/
│   ├── dev/
│   │   └── kustomization.yaml
│   ├── staging/
│   │   └── kustomization.yaml
│   └── prod/
│       └── kustomization.yaml
```

---

## ArgoCD Application

```yaml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: myapp
  namespace: argocd
spec:
  project: default
  source:
    repoURL: https://github.com/org/gitops-repo
    targetRevision: HEAD
    path: overlays/prod
  destination:
    server: https://kubernetes.default.svc
    namespace: production
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
```

---

## Flux Configuration

```yaml
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
  name: myapp
spec:
  interval: 1m
  url: https://github.com/org/gitops-repo
  ref:
    branch: main
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
  name: myapp
spec:
  interval: 10m
  path: ./overlays/prod
  sourceRef:
    kind: GitRepository
    name: myapp
```

---

## DO / DON'T

| ✅ Do | ❌ Don't |
|-------|---------|
| Git for all changes | kubectl apply manually |
| Automated sync | Manual deployments |
| Environment overlays | Duplicate manifests |
| PR reviews | Direct pushes |

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/tridentsof) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-15 -->

