titan-iac/services/maintenance/node-ops/scripts/k3s_traefik_cleanup.sh
jenkins 0da9e4c82d refactor: restructure services layout, retire oceanus, add aether scaffolding
- Move flat service manifests into structured subdirs (apps/, bootstrap-jobs/,
  repair-jobs/, migration-jobs/, validation-jobs/, node-ops/, networking/)
- Retire oneoffs/ directories across services
- Remove oceanus cluster and its host roles; add aether cluster + terraform scaffolding
- Reorganize scripts/ into ops/, render/, sync/, manual-tests/
- Add Makefile with render/validate/test/flux targets and repo-structure tests
- Update flux-system application CRs to the new paths
- Add hermes-automated-triage-24h-plan knowledge doc (+ comms mirror)
- Refresh knowledge catalogs, dashboards, vmalert rules, quality contract

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-05 16:21:36 -03:00

13 lines
867 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
kubectl -n kube-system delete addon traefik --ignore-not-found --wait=false
kubectl -n kube-system delete helmchart traefik traefik-crd --ignore-not-found --wait=false
kubectl -n kube-system delete job helm-install-traefik helm-install-traefik-crd --ignore-not-found --wait=false
kubectl -n kube-system delete deployment traefik --ignore-not-found --wait=false
kubectl -n kube-system delete service traefik --ignore-not-found --wait=false
kubectl -n kube-system delete serviceaccount traefik helm-traefik helm-traefik-crd --ignore-not-found --wait=false
kubectl delete clusterrole traefik-ingress-controller traefik-kube-system --ignore-not-found --wait=false
kubectl delete clusterrolebinding helm-kube-system-traefik helm-kube-system-traefik-crd traefik-ingress-controller traefik-kube-system --ignore-not-found --wait=false