Skip to content

Commit

Permalink
☀ projected k8s-manifests-github from 710c6ad
Browse files Browse the repository at this point in the history
Source-holobranch: k8s-manifests-github
Source-commit: 710c6ad
Source: 710c6ad
  • Loading branch information
themightychris committed Dec 2, 2024
2 parents 54225d8 + 710c6ad commit 8e8e1d5
Show file tree
Hide file tree
Showing 25 changed files with 193 additions and 142 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,22 @@ spec:
valueFrom:
secretKeyRef:
key: password
name: squadquest-supabase-db
name: postgres
- name: DB_PASSWORD_ENC
valueFrom:
secretKeyRef:
key: password_encoded
name: squadquest-supabase-db
key: password
name: postgres
- name: DB_DATABASE
valueFrom:
secretKeyRef:
key: database
name: squadquest-supabase-db
name: postgres
- name: LOGFLARE_API_KEY
valueFrom:
secretKeyRef:
key: apiKey
name: squadquest-supabase-analytics
name: logflare
- name: POSTGRES_BACKEND_URL
value: >-
$(DB_DRIVER)://$(DB_USERNAME):$(DB_PASSWORD_ENC)@$(DB_HOSTNAME):$(DB_PORT)/$(DB_DATABASE)
Expand All @@ -68,6 +68,11 @@ spec:
value: $(FEATURE_FLAG_OVERRIDE)
image: 'supabase/logflare:1.10.0'
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
path: /health
port: 4000
initialDelaySeconds: 3
name: supabase-analytics
ports:
- containerPort: 4000
Expand All @@ -91,7 +96,7 @@ spec:
valueFrom:
secretKeyRef:
key: username
name: squadquest-supabase-db
name: postgres
- name: DB_PORT
value: '5432'
image: 'postgres:15-alpine'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
containers:
- env:
- name: API_EXTERNAL_URL
value: 'http://example.com'
value: 'https://squadquest-supabase.live.k8s.phl.io'
- name: DB_DRIVER
value: postgres
- name: DB_PORT
Expand Down Expand Up @@ -60,17 +60,17 @@ spec:
- name: GOTRUE_MAILER_URLPATHS_RECOVERY
value: /auth/v1/verify
- name: GOTRUE_SITE_URL
value: 'http://example.com'
value: 'https://squadquest-supabase.live.k8s.phl.io'
- name: GOTRUE_SMS_AUTOCONFIRM
value: 'false'
- name: GOTRUE_SMTP_ADMIN_EMAIL
value: SMTP_ADMIN_MAIL
value: [email protected]
- name: GOTRUE_SMTP_HOST
value: SMTP_HOST
value: smtp.postmarkapp.com
- name: GOTRUE_SMTP_PORT
value: SMTP_PORT
value: '587'
- name: GOTRUE_SMTP_SENDER_NAME
value: SMTP_SENDER_NAME
value: [email protected]
- name: GOTRUE_URI_ALLOW_LIST
value: '*'
- name: DB_HOST
Expand All @@ -79,17 +79,17 @@ spec:
valueFrom:
secretKeyRef:
key: password
name: squadquest-supabase-db
name: postgres
- name: DB_PASSWORD_ENC
valueFrom:
secretKeyRef:
key: password_encoded
name: squadquest-supabase-db
key: password
name: postgres
- name: DB_NAME
valueFrom:
secretKeyRef:
key: database
name: squadquest-supabase-db
name: postgres
- name: GOTRUE_DB_DATABASE_URL
value: >-
$(DB_DRIVER)://$(DB_USER):$(DB_PASSWORD_ENC)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)?search_path=auth&sslmode=$(DB_SSL)
Expand All @@ -99,17 +99,17 @@ spec:
valueFrom:
secretKeyRef:
key: secret
name: squadquest-supabase-jwt
name: jwt
- name: GOTRUE_SMTP_USER
valueFrom:
secretKeyRef:
key: username
name: squadquest-supabase-smtp
name: postmark
- name: GOTRUE_SMTP_PASS
valueFrom:
secretKeyRef:
key: password
name: squadquest-supabase-smtp
name: postmark
image: 'supabase/gotrue:v2.164.0'
imagePullPolicy: IfNotPresent
name: supabase-auth
Expand All @@ -136,7 +136,7 @@ spec:
valueFrom:
secretKeyRef:
key: username
name: squadquest-supabase-db
name: postgres
- name: DB_PORT
value: '5432'
image: 'postgres:15-alpine'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,27 +33,27 @@ spec:
valueFrom:
secretKeyRef:
key: username
name: squadquest-supabase-db
name: postgres
- name: PGPASSWORD
valueFrom:
secretKeyRef:
key: password
name: squadquest-supabase-db
name: postgres
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: squadquest-supabase-db
name: postgres
- name: PGDATABASE
valueFrom:
secretKeyRef:
key: database
name: squadquest-supabase-db
name: postgres
- name: POSTGRES_DB
valueFrom:
secretKeyRef:
key: database
name: squadquest-supabase-db
name: postgres
image: 'supabase/postgres:15.6.1.143'
imagePullPolicy: IfNotPresent
livenessProbe:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,32 +39,32 @@ spec:
valueFrom:
secretKeyRef:
key: password
name: squadquest-supabase-db
name: postgres
- name: DB_PASSWORD_ENC
valueFrom:
secretKeyRef:
key: password_encoded
name: squadquest-supabase-db
key: password
name: postgres
- name: DB_DATABASE
valueFrom:
secretKeyRef:
key: database
name: squadquest-supabase-db
name: postgres
- name: JWT_SECRET
valueFrom:
secretKeyRef:
key: secret
name: squadquest-supabase-jwt
name: jwt
- name: SUPABASE_ANON_KEY
valueFrom:
secretKeyRef:
key: anonKey
name: squadquest-supabase-jwt
name: jwt
- name: SUPABASE_SERVICE_ROLE_KEY
valueFrom:
secretKeyRef:
key: serviceKey
name: squadquest-supabase-jwt
name: jwt
- name: POSTGRES_BACKEND_URL
value: >-
$(DB_DRIVER)://$(DB_USERNAME):$(DB_PASSWORD_ENC)@$(DB_HOSTNAME):$(DB_PORT)/$(DB_DATABASE)?search_path=auth&sslmode=$(DB_SSL)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ spec:
value: 'true'
image: 'darthsim/imgproxy:v3'
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
command:
- imgproxy
- health
initialDelaySeconds: 3
name: supabase-imgproxy
ports:
- containerPort: 8080
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,22 +43,22 @@ spec:
valueFrom:
secretKeyRef:
key: anonKey
name: squadquest-supabase-jwt
name: jwt
- name: SUPABASE_SERVICE_KEY
valueFrom:
secretKeyRef:
key: serviceKey
name: squadquest-supabase-jwt
name: jwt
- name: DASHBOARD_USERNAME
valueFrom:
secretKeyRef:
key: username
name: squadquest-supabase-dashboard
name: dashboard
- name: DASHBOARD_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: squadquest-supabase-dashboard
name: dashboard
image: 'kong:2.8.5'
imagePullPolicy: IfNotPresent
name: supabase-kong
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ spec:
valueFrom:
secretKeyRef:
key: password
name: squadquest-supabase-db
name: postgres
- name: DB_NAME
valueFrom:
secretKeyRef:
key: database
name: squadquest-supabase-db
name: postgres
- name: PG_META_DB_HOST
value: $(DB_HOST)
- name: PG_META_DB_PORT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,24 +58,29 @@ spec:
valueFrom:
secretKeyRef:
key: password
name: squadquest-supabase-db
name: postgres
- name: DB_NAME
valueFrom:
secretKeyRef:
key: database
name: squadquest-supabase-db
name: postgres
- name: JWT_SECRET
valueFrom:
secretKeyRef:
key: secret
name: squadquest-supabase-jwt
name: jwt
- name: API_JWT_SECRET
valueFrom:
secretKeyRef:
key: secret
name: squadquest-supabase-jwt
name: jwt
image: 'supabase/realtime:v2.33.61'
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
path: /
port: 4000
initialDelaySeconds: 3
name: supabase-realtime
ports:
- containerPort: 4000
Expand All @@ -100,7 +105,7 @@ spec:
valueFrom:
secretKeyRef:
key: username
name: squadquest-supabase-db
name: postgres
- name: DB_PORT
value: '5432'
image: 'postgres:15-alpine'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,30 +43,30 @@ spec:
valueFrom:
secretKeyRef:
key: password
name: squadquest-supabase-db
name: postgres
- name: DB_PASSWORD_ENC
valueFrom:
secretKeyRef:
key: password_encoded
name: squadquest-supabase-db
key: password
name: postgres
- name: DB_NAME
valueFrom:
secretKeyRef:
key: database
name: squadquest-supabase-db
name: postgres
- name: PGRST_DB_URI
value: >-
$(DB_DRIVER)://$(DB_USER):$(DB_PASSWORD_ENC)@$(DB_HOST):$(DB_PORT)/$(DB_NAME)?sslmode=$(DB_SSL)
- name: PGRST_JWT_SECRET
valueFrom:
secretKeyRef:
key: secret
name: squadquest-supabase-jwt
name: jwt
- name: PGRST_APP_SETTINGS_JWT_SECRET
valueFrom:
secretKeyRef:
key: secret
name: squadquest-supabase-jwt
name: jwt
image: 'postgrest/postgrest:v12.2.3'
imagePullPolicy: IfNotPresent
name: supabase-rest
Expand Down
Loading

0 comments on commit 8e8e1d5

Please sign in to comment.