chore: setup some example schema to play around
This commit is contained in:
parent
39a262dd34
commit
ef8f3471ab
7 changed files with 322 additions and 0 deletions
internal
|
@ -129,6 +129,7 @@ func (r *DashboardStudioReconciler) reconcileStudioDeployment(
|
|||
serviceCfg.EnvKeys.JwtSecret.Var(studioSpec.JWT.SecretKeySelector()),
|
||||
serviceCfg.EnvKeys.AnonKey.Var(studioSpec.JWT.AnonKeySelector()),
|
||||
serviceCfg.EnvKeys.ServiceKey.Var(studioSpec.JWT.ServiceKeySelector()),
|
||||
serviceCfg.EnvKeys.LogsEnabled.Var(),
|
||||
}
|
||||
|
||||
studioDeployment.Spec.Template = corev1.PodTemplateSpec{
|
||||
|
|
|
@ -116,6 +116,7 @@ type studioEnvKeys struct {
|
|||
AnonKey secretEnv
|
||||
ServiceKey secretEnv
|
||||
Host fixedEnv
|
||||
LogsEnabled fixedEnv
|
||||
}
|
||||
|
||||
type studioDefaults struct {
|
||||
|
@ -250,6 +251,7 @@ var ServiceConfig = struct {
|
|||
AnonKey: "SUPABASE_ANON_KEY",
|
||||
ServiceKey: "SUPABASE_SERVICE_KEY",
|
||||
Host: fixedEnvOf("HOSTNAME", "0.0.0.0"),
|
||||
LogsEnabled: fixedEnvOf("NEXT_PUBLIC_ENABLE_LOGS", "true"),
|
||||
},
|
||||
Defaults: studioDefaults{
|
||||
NodeUID: 1000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue