prole/supabase/helm/knoe-supabase/templates/test/imgproxy.yaml
chrisfu c023c7f590 stabilize unattended GKE Supabase/CNPG deployment
- align app/db cluster defaults for knoe-dev-0 + knoe-dev-cnpg-0 on e2-standard-2\n- harden Supabase deploy flow for cross-cluster DB ILB, GKE storage class, and node selector fallback\n- migrate Helm chart path to knoe-supabase and make external DB host rendering IP-safe\n- disable Kerberos in prod unattended config to prevent Supabase GSS auth failures\n- add Supabase port-forward mappings and DB backup context handling improvements\n\nBuild status: k8s stable

Co-authored-by: Junie <junie@jetbrains.com>
2026-04-10 15:53:58 -07:00

27 lines
771 B
YAML

{{- if .Values.deployment.imgproxy.enabled -}}
apiVersion: batch/v1
kind: Job
metadata:
name: {{ include "supabase.fullname" . }}-test-imgproxy
labels:
{{- include "supabase.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
ttlSecondsAfterFinished: 100
template:
spec:
containers:
- name: test-imgproxy
image: kdevup/curljq
imagePullPolicy: IfNotPresent
command:
- /bin/bash
- -c
- |
curl -sfo /dev/null \
http://{{ include "supabase.imgproxy.fullname" . }}:{{ .Values.service.imgproxy.port }}/health
echo "Sevice {{ include "supabase.imgproxy.fullname" . }} is healthy."
restartPolicy: Never
{{- end }}