This repository has been archived on 2026-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
stack-orchestrator/stack_orchestrator/deploy
Prathamesh Musale 5fe7adfe19 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-10 10:38:24 +00:00
..
compose Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
k8s feat(k8s): support init containers via compose labels 2026-03-10 10:38:24 +00:00
webapp fix(webapp): use YAML round-trip instead of raw string append in _fixup_url_spec 2026-03-10 04:40:06 +00:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
deploy_types.py feat(k8s): add Job support for non-Helm k8s-kind deployments 2026-03-10 04:40:06 +00:00
deploy_util.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
deploy.py feat(k8s): add Job support for non-Helm k8s-kind deployments 2026-03-10 04:40:06 +00:00
deployer_factory.py feat(k8s): add Job support for non-Helm k8s-kind deployments 2026-03-10 04:40:06 +00:00
deployer.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
deployment_context.py Merge origin/main into multi-port-service 2026-01-24 16:48:11 -05:00
deployment_create.py k8s: add start() hook for post-deployment k8s resource creation 2026-03-10 04:40:06 +00:00
deployment.py Fix repo root path calculation (4 parents from stack path) 2026-02-03 17:15:19 -05:00
dns_probe.py feat(deploy): add deployment restart command 2026-02-03 17:15:19 -05:00
images.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00
spec.py feat: add secrets support for k8s deployments 2026-03-10 04:38:48 +00:00
stack_state.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
stack.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05:00