docs: replace flux/fluxcd references with argocd
This commit is contained in:
parent
aa7fc830e5
commit
aa46ff2bd3
3 changed files with 9 additions and 9 deletions
13
CLAUDE.md
13
CLAUDE.md
|
|
@ -212,7 +212,7 @@ See `AGENTS.md` for the full set of coding constraints. Key reminders:
|
||||||
|
|
||||||
## Kubernetes Deployment
|
## Kubernetes Deployment
|
||||||
|
|
||||||
**Prerequisites**: cert-manager, Traefik, MetalLB, FluxCD, GitLab Agent, NFS Provisioner
|
**Prerequisites**: cert-manager, Traefik, MetalLB, ArgoCD (with `argocd-image-updater`), NFS Provisioner
|
||||||
|
|
||||||
**Secrets** (1Password, `towerops` namespace):
|
**Secrets** (1Password, `towerops` namespace):
|
||||||
- `gitlab-registry` - Docker credentials
|
- `gitlab-registry` - Docker credentials
|
||||||
|
|
@ -243,7 +243,7 @@ kubectl rollout restart deployment/towerops -n towerops
|
||||||
|
|
||||||
**Important**: Losing CLOAK_KEY makes encrypted data unrecoverable.
|
**Important**: Losing CLOAK_KEY makes encrypted data unrecoverable.
|
||||||
|
|
||||||
**Deployment**: FluxCD auto-applies `k8s/` manifests. Manual: `kubectl apply -k k8s/`
|
**Deployment**: ArgoCD reconciles `k8s/` manifests automatically. Manual: `kubectl apply -k k8s/`
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
|
|
@ -265,8 +265,9 @@ Towerops uses branch-based deployment with Forgejo CI/CD:
|
||||||
- Only after tests pass:
|
- Only after tests pass:
|
||||||
- Builds Docker image from `k8s/Dockerfile`
|
- Builds Docker image from `k8s/Dockerfile`
|
||||||
- Pushes to container registry
|
- Pushes to container registry
|
||||||
- Updates `k8s/deployment.yaml` with new image tag
|
- `argocd-image-updater` picks up the new tag (~2 min) and writes it to the
|
||||||
- FluxCD detects change and applies to cluster
|
Application's `spec.source.kustomize.images`; ArgoCD then rolls the
|
||||||
|
Deployment. No commit to `k8s/deployment.yaml`.
|
||||||
|
|
||||||
### Deploying Changes
|
### Deploying Changes
|
||||||
|
|
||||||
|
|
@ -298,8 +299,8 @@ git push origin main:production
|
||||||
# 2. Runs all e2e tests (must pass)
|
# 2. Runs all e2e tests (must pass)
|
||||||
# 3. Builds Docker image
|
# 3. Builds Docker image
|
||||||
# 4. Pushes to container registry
|
# 4. Pushes to container registry
|
||||||
# 5. Updates k8s/deployment.yaml with new image tag
|
# 5. argocd-image-updater picks up the new tag (~2 min)
|
||||||
# 6. FluxCD auto-applies changes (~5 minutes)
|
# 6. ArgoCD rolls the Deployment
|
||||||
#
|
#
|
||||||
# Watch progress: https://git.mcintire.me/graham/towerops-web/actions
|
# Watch progress: https://git.mcintire.me/graham/towerops-web/actions
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ git checkout main
|
||||||
log "Deploy triggered."
|
log "Deploy triggered."
|
||||||
echo ""
|
echo ""
|
||||||
echo " Staging: pushed to main (Dokku auto-deploys)"
|
echo " Staging: pushed to main (Dokku auto-deploys)"
|
||||||
echo " Production: pushed to production (CI runs tests, builds image, FluxCD applies)"
|
echo " Production: pushed to production (CI runs tests, builds image, ArgoCD applies)"
|
||||||
echo ""
|
echo ""
|
||||||
echo " Monitor CI: https://git.mcintire.me/graham/towerops-web/actions"
|
echo " Monitor CI: https://git.mcintire.me/graham/towerops-web/actions"
|
||||||
echo " Monitor k8s: kubectl rollout status deployment/towerops -n towerops"
|
echo " Monitor k8s: kubectl rollout status deployment/towerops -n towerops"
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,7 @@ towerops/
|
||||||
├── c_src/ # C NIFs (SNMP native interop)
|
├── c_src/ # C NIFs (SNMP native interop)
|
||||||
├── docs/ # Documentation
|
├── docs/ # Documentation
|
||||||
├── e2e/ # End-to-end tests (Playwright)
|
├── e2e/ # End-to-end tests (Playwright)
|
||||||
├── flux/ # FluxCD / GitOps manifests
|
├── k8s/ # Kubernetes manifests (reconciled by ArgoCD)
|
||||||
├── k8s/ # Kubernetes manifests
|
|
||||||
├── lib/
|
├── lib/
|
||||||
│ ├── mix/ # Custom Mix tasks
|
│ ├── mix/ # Custom Mix tasks
|
||||||
│ ├── snmpkit/ # SNMP toolkit (native extension)
|
│ ├── snmpkit/ # SNMP toolkit (native extension)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue