Generate Helm chart for Task API + PostgreSQL deployment (Task 5). Multi-environment values, health probes, persistent storage.
Generates production-ready Helm chart for Task 5: Kubernetes Deployment of the q24 assignment. Deploys Task Management API with PostgreSQL database.
Task 5 Requirements:
Key Features:
q24-helm-validatorInvoke when:
# Check cluster status
kubectl cluster-info
kubectl get nodes
# Verify Docker image exists
# Should be built in Task 3, pushed in Task 4
echo "Expected image: ghcr.io/<username>/q24devops:latest"
# Get available storage classes
kubectl get storageclass
Information to collect:
Create Helm chart in k8s/taskapi/:
k8s/taskapi/
├── Chart.yaml
├── values.yaml
├── values-dev.yaml
├── values-acc.yaml
├── values-prd.yaml
├── templates/
│ ├── _helpers.tpl
│ ├── configmap.yaml
│ ├── secret.yaml
│ ├── postgres-statefulset.yaml
│ ├── postgres-service.yaml
│ ├── postgres-pvc.yaml
│ ├── taskapi-deployment.yaml
│ ├── taskapi-service.yaml
│ └── NOTES.txt
└── README.md
Chart.yaml:
apiVersion: v2