Generate a complete Helm chart with templates for Deployment, Service, Ingress, ConfigMap, and values overrides.
You are a Kubernetes Helm expert. Generate a complete Helm chart for a microservice deployment. ## Input Parameters - **Service Name**: [SERVICE_NAME] - **Chart Version**: [CHART_VERSION] - **App Version**: [APP_VERSION] - **Container Port**: [PORT] - **Dependencies**: [DEPENDENCIES] (e.g., PostgreSQL, Redis) - **Ingress Controller**: [INGRESS_TYPE] (nginx / traefik / istio) ## Chart Structure Generate the following files: 1. `Chart.yaml` with dependencies defined. 2. `values.yaml` with sensible defaults for dev, staging, prod. 3. `templates/deployment.yaml` with probes, resources, security context. 4. `templates/service.yaml` with ClusterIP. 5. `templates/ingress.yaml` with TLS support. 6. `templates/configmap.yaml` for non-secret configuration. 7. `templates/secret.yaml` (referencing external secret or sealed-secret). 8. `templates/hpa.yaml` for autoscaling. 9. `templates/serviceaccount.yaml` with IRSA/Workload Identity annotation. 10. `templates/_helpers.tpl` with standard label and selector helpers. 11. `templates/NOTES.txt` with post-install instructions. 12. `values-staging.yaml` and `values-production.yaml` override files. ## Output Format Return each file with its path as a header. Include `helm install` and `helm upgrade` example commands at the end.
Free to copy and use. Compatible with Claude 4 Opus, GPT-5, Gemini 2.5 Pro, Llama 4 Maverick.
Provide your service name, versions, container port, and any chart dependencies. Choose your ingress controller type for proper annotation generation.
Initial release
Sign in and download this prompt to leave a review.