From 5e158f4595fce7700426ebbb5d43fefe86d43962 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Fri, 21 Nov 2025 12:10:45 +0530 Subject: [PATCH] Update TODOs --- stack_orchestrator/deploy/k8s/helm/chart_generator.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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)