stack-orchestrator/stack_orchestrator
Prathamesh Musale dcba9e74d9 feat(k8s): support init containers via compose labels
Add support for k8s init containers defined in docker-compose files
using the `laconic.init-container` label. Services with this label
set to "true" are built as init containers instead of regular
containers in the pod spec.

This enables stacks to fetch runtime-created ConfigMaps (e.g. from
deployer jobs) before the main containers start, without requiring
manual operator steps between deployments.

Example compose usage:

  services:
    fetch-config:
      image: bitnami/kubectl:latest
      labels:
        laconic.init-container: "true"
      command: ["sh", "-c", "kubectl get configmap ..."]
      volumes:
        - shared-config:/config

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 04:07:26 +00:00
..
build Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
data Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
deploy feat(k8s): support init containers via compose labels 2026-03-11 04:07:26 +00: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 Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00: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 Add Job and secrets support for k8s-kind deployments (#995) 2026-03-11 03:56:21 +00:00
version.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00