Files
triggerdotdev--trigger.dev/hosting/k8s/helm/templates/tests/test-webapp.yaml
T
2026-07-13 13:32:57 +08:00

19 lines
571 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: "{{ include "trigger-v4.fullname" . }}-test-webapp"
labels:
{{- include "trigger-v4.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
restartPolicy: Never
containers:
- name: test-webapp
image: curlimages/curl:8.14.1
command: ['sh', '-c']
args:
- |
echo "Testing webapp health endpoint..."
curl -f http://{{ include "trigger-v4.fullname" . }}-webapp:{{ .Values.webapp.service.port }}/healthcheck
echo "Webapp test completed successfully"