stack-orchestrator/stack_orchestrator/deploy/k8s
Prathamesh Musale 616475ce2d fix(k8s): only patch Caddy when operator explicitly set the spec key
Returning the hardcoded default from get_caddy_ingress_image() when
the spec key was absent meant every `deployment start` would patch a
running Caddy back to :latest — silently reverting any image set
out-of-band (ansible playbook, prior deployment's spec).

Make get_caddy_ingress_image() return Optional[str]. Install path
still falls back to the default (needs *some* image to install); the
update-on-reuse path treats None as "operator didn't ask, leave the
running Caddy alone".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 08:12:15 +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 k8s: shared-cluster safety checks and deployment-id decoupling (#748) 2026-04-21 12:17:28 +05:30
deploy_k8s.py fix(k8s): only patch Caddy when operator explicitly set the spec key 2026-04-21 08:12:15 +00:00
helpers.py fix(k8s): only patch Caddy when operator explicitly set the spec key 2026-04-21 08:12:15 +00:00
k8s_command.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00