Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions api/v1alpha1/supabaseproject_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ type StorageConfig struct {
}

type KongConfig struct {
// +kubebuilder:default="kong:2.8.1"
// +kubebuilder:default="kong/kong:3.9.1"
// +optional
Image string `json:"image,omitempty"`

Expand All @@ -117,7 +117,7 @@ type KongConfig struct {
}

type AuthConfig struct {
// +kubebuilder:default="supabase/gotrue:v2.180.0"
// +kubebuilder:default="supabase/gotrue:v2.189.0"
// +optional
Image string `json:"image,omitempty"`

Expand All @@ -141,7 +141,7 @@ type AuthConfig struct {
}

type RealtimeConfig struct {
// +kubebuilder:default="supabase/realtime:v2.51.11"
// +kubebuilder:default="supabase/realtime:v2.102.3"
// +optional
Image string `json:"image,omitempty"`

Expand All @@ -159,7 +159,7 @@ type RealtimeConfig struct {
}

type PostgRESTConfig struct {
// +kubebuilder:default="postgrest/postgrest:v13.0.7"
// +kubebuilder:default="postgrest/postgrest:v14.12"
// +optional
Image string `json:"image,omitempty"`

Expand All @@ -177,7 +177,7 @@ type PostgRESTConfig struct {
}

type StorageAPIConfig struct {
// +kubebuilder:default="supabase/storage-api:v1.32.0"
// +kubebuilder:default="supabase/storage-api:v1.60.4"
// +optional
Image string `json:"image,omitempty"`

Expand All @@ -195,7 +195,7 @@ type StorageAPIConfig struct {
}

type MetaConfig struct {
// +kubebuilder:default="supabase/postgres-meta:v0.93.1"
// +kubebuilder:default="supabase/postgres-meta:v0.96.6"
// +optional
Image string `json:"image,omitempty"`

Expand All @@ -213,7 +213,7 @@ type MetaConfig struct {
}

type StudioConfig struct {
// +kubebuilder:default="supabase/studio:2025.10.01-sha-8460121"
// +kubebuilder:default="supabase/studio:2026.07.07-sha-a6a04f2"
// +optional
Image string `json:"image,omitempty"`

Expand Down
14 changes: 7 additions & 7 deletions api/v1alpha1/wellknown_images.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ package v1alpha1
// which reads the upstream compose file:
// https://github.com/supabase/supabase/blob/master/docker/docker-compose.yml
const (
DefaultKongImage = "kong:2.8.1"
DefaultAuthImage = "supabase/gotrue:v2.180.0"
DefaultPostgRESTImage = "postgrest/postgrest:v13.0.7"
DefaultRealtimeImage = "supabase/realtime:v2.51.11"
DefaultStorageAPIImage = "supabase/storage-api:v1.32.0"
DefaultMetaImage = "supabase/postgres-meta:v0.93.1"
DefaultStudioImage = "supabase/studio:2025.10.01-sha-8460121"
DefaultKongImage = "kong/kong:3.9.1"
DefaultAuthImage = "supabase/gotrue:v2.189.0"
DefaultPostgRESTImage = "postgrest/postgrest:v14.12"
DefaultRealtimeImage = "supabase/realtime:v2.102.3"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add v2.102 Realtime self-host seeding before defaulting it

When users rely on the defaults, this image bump moves Realtime to the current self-hosted tenant model, but RealtimeBuilder still only sets the older env set (JWT_SECRET, SECRET_KEY_BASE, APP_NAME, PORT, RLIMIT_NOFILE, SECURE_CHANNELS) and never enables SEED_SELF_HOST or otherwise creates the default tenant. With supabase/realtime:v2.102.3, the /socket and tenant health/API paths require that tenant to exist, so a default SupabaseProject will deploy a Realtime pod that cannot serve /realtime/v1/* traffic through Kong. Please add the new self-host tenant seeding/env wiring before making this image the default, or keep the previous default until the builder is updated.

Useful? React with 👍 / 👎.

DefaultStorageAPIImage = "supabase/storage-api:v1.60.4"
DefaultMetaImage = "supabase/postgres-meta:v0.96.6"
DefaultStudioImage = "supabase/studio:2026.07.07-sha-a6a04f2"
)

// DefaultPostgresImage is used by the database init job only. The operator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ spec:
type: object
type: array
image:
default: supabase/gotrue:v2.180.0
default: supabase/gotrue:v2.189.0
type: string
oauthSecretRef:
description: |-
Expand Down Expand Up @@ -519,7 +519,7 @@ spec:
type: object
type: array
image:
default: kong:2.8.1
default: kong/kong:3.9.1
type: string
replicas:
default: 1
Expand Down Expand Up @@ -748,7 +748,7 @@ spec:
type: object
type: array
image:
default: supabase/postgres-meta:v0.93.1
default: supabase/postgres-meta:v0.96.6
type: string
replicas:
default: 1
Expand Down Expand Up @@ -977,7 +977,7 @@ spec:
type: object
type: array
image:
default: postgrest/postgrest:v13.0.7
default: postgrest/postgrest:v14.12
type: string
replicas:
default: 1
Expand Down Expand Up @@ -1209,7 +1209,7 @@ spec:
type: object
type: array
image:
default: supabase/realtime:v2.51.11
default: supabase/realtime:v2.102.3
type: string
replicas:
default: 1
Expand Down Expand Up @@ -1470,7 +1470,7 @@ spec:
type: object
type: array
image:
default: supabase/storage-api:v1.32.0
default: supabase/storage-api:v1.60.4
type: string
replicas:
default: 1
Expand Down Expand Up @@ -1716,7 +1716,7 @@ spec:
type: object
type: array
image:
default: supabase/studio:2025.10.01-sha-8460121
default: supabase/studio:2026.07.07-sha-a6a04f2
type: string
publicUrl:
type: string
Expand Down
12 changes: 12 additions & 0 deletions internal/component/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ func (b *AuthBuilder) BuildDeployment(project *v1alpha1.SupabaseProject) (*appsv
Name: "GOTRUE_SITE_URL",
Value: "http://localhost:8000",
},
{
Name: "GOTRUE_API_HOST",
Value: "0.0.0.0",
},
{
Name: "GOTRUE_API_PORT",
Value: "9999",
Expand Down Expand Up @@ -142,6 +146,14 @@ func (b *AuthBuilder) BuildDeployment(project *v1alpha1.SupabaseProject) (*appsv
Name: "GOTRUE_JWT_EXP",
Value: "3600",
},
{
Name: "GOTRUE_JWT_ADMIN_ROLES",
Value: "service_role",
},
{
Name: "GOTRUE_JWT_AUD",
Value: "authenticated",
},
{
Name: "GOTRUE_JWT_DEFAULT_GROUP_NAME",
Value: "authenticated",
Expand Down
Loading
Loading