Update TODOs

This commit is contained in:
Prathamesh Musale 2025-11-21 12:10:45 +05:30
parent 24bdc15a78
commit 5e158f4595

View File

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