stack-orchestrator/stack_orchestrator/deploy
A. F. Dudley ca090d2cd5 Add $generate:type:length$ token support for K8s secrets
- Add GENERATE_TOKEN_PATTERN to detect $generate:hex:N$ and $generate:base64:N$ tokens
- Add _generate_and_store_secrets() to create K8s Secrets from spec.yml config
- Modify _write_config_file() to separate secrets from regular config
- Add env_from with secretRef to container spec in cluster_info.py
- Secrets are injected directly into containers via K8s native mechanism

This enables declarative secret generation in spec.yml:
  config:
    SESSION_SECRET: $generate:hex:32$
    DB_PASSWORD: $generate:hex:16$

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:15:19 -05:00
..
compose Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
k8s Add $generate:type:length$ token support for K8s secrets 2026-02-03 17:15:19 -05:00
webapp Add --update option to deploy create 2026-01-29 08:25:05 -06:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
deploy_types.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
deploy_util.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
deploy.py Fix pyright type errors across codebase 2026-01-22 01:10:36 -05:00
deployer_factory.py Apply pre-commit linting fixes 2026-01-21 20:58:31 -05: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 Add $generate:type:length$ token support for K8s secrets 2026-02-03 17:15:19 -05: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 Fix restart command for GitOps deployments 2026-02-03 17:15:19 -05: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