diff --git a/stack_orchestrator/deploy/k8s/helm/chart_generator.py b/stack_orchestrator/deploy/k8s/helm/chart_generator.py index b366f942..82898a63 100644 --- a/stack_orchestrator/deploy/k8s/helm/chart_generator.py +++ b/stack_orchestrator/deploy/k8s/helm/chart_generator.py @@ -83,19 +83,16 @@ def generate_helm_chart(stack_path: str, spec_file: str, deployment_dir: str = N └── templates/ └── *.yaml - TODO: Post-processing enhancements: + TODO: Enhancements: - Parse generated templates and extract values to values.yaml - Replace hardcoded image tags with {{ .Values.image.tag }} - - Replace hardcoded replica counts with {{ .Values.replicaCount }} - Replace hardcoded PVC sizes with {{ .Values.persistence.size }} - Convert Deployments to StatefulSets for stateful services (zenithd, postgres) - Add _helpers.tpl with common label/selector functions - - Embed genesis.json into ConfigMap template - Embed config files (scripts, templates) into ConfigMap templates - Generate Secret templates for validator keys with placeholders - Add init containers for genesis/config setup - Enhance Chart.yaml with proper metadata (version, description, etc.) - - Generate comprehensive values.yaml documentation """ parsed_stack = get_parsed_stack_config(stack_path)