Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for Kubernetes Helm CD Workflows
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[CLUSTER_NAME] - ✦
[NAMESPACE] - ✦
[HELM_CHART_PATH]
kubernetes-helm-cd-workflow.txt
Create a continuous deployment GitHub Actions workflow for a Kubernetes cluster [CLUSTER_NAME]. The workflow should: 1) Trigger on tag creation. 2) Lint the Helm chart located at [HELM_CHART_PATH]. 3) Use 'azure/k8s-set-context' or 'aws-actions/configure-aws-credentials' to access the cluster. 4) Perform a 'helm upgrade --install' into the [NAMESPACE] namespace. 5) Implement a rollback strategy if the deployment fails. Use manual approval gates using GitHub Environments.
Example Output
"A deployment-focused YAML including 'helm lint', 'helm upgrade', and environment-based protection rules for production safety."