merlyn/cloud-deployments/helm/charts/anythingllm/templates/tests/test-connection.yaml
Sam Culley 988a14e67e
Adding AnythingLLM Helm Chart (#4484)
feat: adding helm chart

Co-authored-by: Sam Culley <sam.culley@novatiq.com>
2025-10-03 09:27:34 -07:00

16 lines
462 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: "{{ include "anythingllm.fullname" . }}-test-connection"
labels:
{{- include "anythingllm.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: healthcheck
image: curlimages/curl:8.1.2
command: ["sh", "-c"]
args:
- "curl -fsS -o /dev/null http://{{ include "anythingllm.fullname" . }}:{{ .Values.service.port }}|| exit 1"
restartPolicy: Never