stack-orchestrator/stack_orchestrator/deploy/k8s
A. F. Dudley ae2cea3410 fix: never delete namespace on deployment down
down() deleted the entire namespace when it wasn't explicitly set in
the spec. This causes a race condition on restart: up() tries to create
resources in a namespace that's still terminating, getting 403 Forbidden.

Always use _delete_resources_by_label() instead. The namespace is cheap
to keep and required for immediate up() after down(). This also matches
the shared-namespace behavior, making down() consistent regardless of
namespace configuration.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 18:47:05 +00:00
..
helm 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
cluster_info.py fix: rename registry secret to image-pull-secret 2026-03-18 15:33:11 +00:00
deploy_k8s.py fix: never delete namespace on deployment down 2026-03-18 18:47:05 +00:00
helpers.py Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
k8s_command.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00