File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,13 +89,15 @@ def helm_template_generator(input : HelmTemplateGeneration) -> str:
8989 name=value
9090 )
9191 initialize ingress with a default host for pod if the pod ingress is true in here { ingress_ } .
92-
92+ set stateless in pod based on { status } .
9393
9494
95- if environment variable is considered for pod, then create secret.yaml in the related template.
96- creating secret.yaml based on environemt variables in the { envs } in the template is very important.
97- creating deployment.yaml based on our pods in the template is very important.
98- please set a something default in chart.yaml and values.yaml based on the requirement.
95+ Based on values.yaml, create all necessary Kubernetes templates in the templates directory:
96+ if stateless is true, create deployment.yaml; if stateless is false, create statefulset.yaml.
97+ If a persistence block exists, include pvc.yaml. If the ingress block is defined and ingress.enabled
98+ is true, create ingress.yaml. Always create secrets.yaml for secure data storage.
99+
100+ Ensure each template is fully parameterized to match values from values.yaml for flexible configuration.
99101
100102 in the final stage, put helpers.tpl in all templates and set the content based on information given.
101103 """
You can’t perform that action at this time.
0 commit comments