stack-orchestrator/stack_orchestrator
A. F. Dudley 675ee87544 Clear stale CNI resources from persisted etcd before cluster creation
When etcd is persisted (for certificate backup) and a cluster is
recreated, kind tries to install CNI (kindnet) fresh but the
persisted etcd already has those resources, causing 'AlreadyExists'
errors and cluster creation failure.

This fix:
- Detects etcd mount path from kind config
- Before cluster creation, clears stale CNI resources (kindnet, coredns)
- Preserves certificate and other important data

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:15:19 -05:00
..
build Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
data Fix Caddy ingress ACME email and RBAC issues 2026-02-03 17:15:19 -05:00
deploy Clear stale CNI resources from persisted etcd before cluster creation 2026-02-03 17:15:19 -05:00
repos Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
__main__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
base.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
command_types.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
constants.py Fix Caddy ingress ACME email and RBAC issues 2026-02-03 17:15:19 -05:00
main.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
opts.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
update.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
util.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
version.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00