apiVersion: apps/v1 kind: Deployment metadata: name: supabase-meta spec: replicas: 1 selector: matchLabels: component: meta template: metadata: labels: component: meta spec: containers: - name: meta image: supabase/postgres-meta:v0.96.6 ports: - containerPort: 8080 env: - name: PG_META_PORT value: "8080" - name: PG_META_DB_HOST value: "{{ .db.host }}" - name: PG_META_DB_PORT value: "5432" - name: PG_META_DB_NAME value: "{{ .db.name }}" - name: PG_META_DB_USER value: "{{ .db.user }}" - name: PG_META_DB_PASSWORD valueFrom: secretKeyRef: name: supabase-secrets key: dbPassword - name: CRYPTO_KEY valueFrom: secretKeyRef: name: supabase-secrets key: pgMetaCryptoKey livenessProbe: httpGet: path: /health port: 8080 initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 3 readinessProbe: httpGet: path: /health port: 8080 initialDelaySeconds: 5 periodSeconds: 5 timeoutSeconds: 5 failureThreshold: 3 resources: requests: memory: 128Mi cpu: 50m