feat(supabase): add services and statefulset for database management
feat(synapse): update ingress to use traefik ingress class and bump version feat(syncthing-discovery): introduce syncthing discovery service with deployment and ingress feat(syncthing-relay): add syncthing relay server with deployment and ingress configuration fix(taiga): update liveness and readiness probes to use tcpSocket for health checks fix(taiga): change PVC access mode to ReadWriteMany for media and static storage feat(traefik): add icon and ignore rules for traefik service docs(ushahidi): add notes for Redis configuration and Laravel startup probe adjustments feat(ushahidi): implement dedicated Redis deployment for Ushahidi fix(vllm): update deployment strategy and readiness/liveness probes for improved stability fix(writefreely): pin writefreely image version to v0.15.1 for consistency docs(zulip): add notes for TLS-terminating reverse proxy configuration and expected behavior
This commit is contained in:
105
supabase/versions/1/deployment-auth.yaml
Normal file
105
supabase/versions/1/deployment-auth.yaml
Normal file
@@ -0,0 +1,105 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: supabase-auth
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
component: auth
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
component: auth
|
||||
spec:
|
||||
containers:
|
||||
- name: auth
|
||||
image: supabase/gotrue:v2.189.0
|
||||
ports:
|
||||
- containerPort: 9999
|
||||
env:
|
||||
- name: GOTRUE_API_HOST
|
||||
value: "0.0.0.0"
|
||||
- name: GOTRUE_API_PORT
|
||||
value: "9999"
|
||||
- name: API_EXTERNAL_URL
|
||||
value: "https://{{ .domain }}"
|
||||
- name: GOTRUE_DB_DRIVER
|
||||
value: postgres
|
||||
- name: GOTRUE_DB_DATABASE_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: supabase-secrets
|
||||
key: dbUrlAuth
|
||||
- name: GOTRUE_SITE_URL
|
||||
value: "{{ .siteUrl }}"
|
||||
- name: GOTRUE_URI_ALLOW_LIST
|
||||
value: ""
|
||||
- name: GOTRUE_DISABLE_SIGNUP
|
||||
value: "false"
|
||||
- name: GOTRUE_JWT_ADMIN_ROLES
|
||||
value: service_role
|
||||
- name: GOTRUE_JWT_AUD
|
||||
value: authenticated
|
||||
- name: GOTRUE_JWT_DEFAULT_GROUP_NAME
|
||||
value: authenticated
|
||||
- name: GOTRUE_JWT_EXP
|
||||
value: "{{ .jwtExpiry }}"
|
||||
- name: GOTRUE_JWT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: supabase-secrets
|
||||
key: jwtSecret
|
||||
- name: GOTRUE_JWT_ISSUER
|
||||
value: "https://{{ .domain }}/auth/v1"
|
||||
- name: GOTRUE_EXTERNAL_EMAIL_ENABLED
|
||||
value: "true"
|
||||
- name: GOTRUE_EXTERNAL_ANONYMOUS_USERS_ENABLED
|
||||
value: "false"
|
||||
- name: GOTRUE_MAILER_AUTOCONFIRM
|
||||
value: "false"
|
||||
- name: GOTRUE_SMTP_ADMIN_EMAIL
|
||||
value: "{{ .smtp.from }}"
|
||||
- name: GOTRUE_SMTP_HOST
|
||||
value: "{{ .smtp.host }}"
|
||||
- name: GOTRUE_SMTP_PORT
|
||||
value: "{{ .smtp.port }}"
|
||||
- name: GOTRUE_SMTP_USER
|
||||
value: "{{ .smtp.user }}"
|
||||
- name: GOTRUE_SMTP_PASS
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: supabase-secrets
|
||||
key: smtp.password
|
||||
- name: GOTRUE_SMTP_SENDER_NAME
|
||||
value: "{{ .smtp.from }}"
|
||||
- name: GOTRUE_MAILER_URLPATHS_INVITE
|
||||
value: "/auth/v1/verify"
|
||||
- name: GOTRUE_MAILER_URLPATHS_CONFIRMATION
|
||||
value: "/auth/v1/verify"
|
||||
- name: GOTRUE_MAILER_URLPATHS_RECOVERY
|
||||
value: "/auth/v1/verify"
|
||||
- name: GOTRUE_MAILER_URLPATHS_EMAIL_CHANGE
|
||||
value: "/auth/v1/verify"
|
||||
- name: GOTRUE_EXTERNAL_PHONE_ENABLED
|
||||
value: "false"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 9999
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 9999
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 5
|
||||
failureThreshold: 3
|
||||
resources:
|
||||
requests:
|
||||
memory: 128Mi
|
||||
cpu: 50m
|
||||
Reference in New Issue
Block a user