stack-orchestrator/stack_orchestrator/deploy/k8s
A. F. Dudley 6ace024cd3 fix: use replace instead of patch for k8s resource updates
Strategic merge patch preserves fields not present in the patch body.
This means removed volumes, ports, and env vars persist in the running
Deployment after a restart. Replace sends the complete spec built from
the current compose files — removed fields are actually deleted.

Affects Deployment, Service, Ingress, and NodePort updates. Service
replace preserves clusterIP (immutable field) by reading it from the
existing resource before replacing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 03:44:57 +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 so-m3m: add credentials-files spec key for on-disk credential injection 2026-03-18 21:55:28 +00:00
deploy_k8s.py fix: use replace instead of patch for k8s resource updates 2026-03-19 03:44:57 +00:00
helpers.py so-m3m: add credentials-files spec key for on-disk credential injection 2026-03-18 21:55:28 +00:00
k8s_command.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00