Skip to content

Commit

Permalink
refactor(core): remove unused 'KRATOS_CALLBACK_API_KEY'
Browse files Browse the repository at this point in the history
  • Loading branch information
vindard committed Feb 1, 2024
1 parent 3be95bf commit a031eac
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export HELMREVISION="1"
export LOG_LEVEL="info"

export KRATOS_MASTER_USER_PASSWORD="passwordHardtoFindWithNumber123"
export KRATOS_CALLBACK_API_KEY="The-Value-of-My-Key"
export KRATOS_PG_HOST="localhost"
export KRATOS_PG_PORT="5433"

Expand Down
1 change: 0 additions & 1 deletion .env.ci
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ COMMITHASH=${COMMITHASH}
HELMREVISION=${HELMREVISION}
PRICE_SERVER_HOST=stablesats
KRATOS_MASTER_USER_PASSWORD=${KRATOS_MASTER_USER_PASSWORD}
KRATOS_CALLBACK_API_KEY=${KRATOS_CALLBACK_API_KEY}
KRATOS_PUBLIC_API=http://kratos:4433
KRATOS_ADMIN_API=http://kratos:4434
KRATOS_PG_CON="postgres://dbuser:secret@kratos-pg:5432/default?sslmode=disable"
Expand Down
2 changes: 1 addition & 1 deletion core/api/.env
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export LOG_LEVEL="info"

export KRATOS_MASTER_USER_PASSWORD="passwordHardtoFindWithNumber123"
export KRATOS_ADMIN_URL="http://localhost:4434"
export KRATOS_CALLBACK_API_KEY="The-Value-of-My-Key"
export ="The-Value-of-My-Key"
export KRATOS_PG_HOST="localhost"
export KRATOS_PG_PORT="5433"

Expand Down
1 change: 0 additions & 1 deletion core/api/.env.ci
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ COMMITHASH=${COMMITHASH}
HELMREVISION=${HELMREVISION}
PRICE_SERVER_HOST=stablesats
KRATOS_MASTER_USER_PASSWORD=${KRATOS_MASTER_USER_PASSWORD}
KRATOS_CALLBACK_API_KEY=${KRATOS_CALLBACK_API_KEY}
KRATOS_PUBLIC_API=http://kratos:4433
KRATOS_ADMIN_API=http://kratos:4434
KRATOS_PG_CON="postgres://dbuser:secret@kratos-pg:5432/default?sslmode=disable"
Expand Down
2 changes: 0 additions & 2 deletions core/api/src/config/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export const env = createEnv({
KRATOS_PUBLIC_API: z.string().url(),
KRATOS_ADMIN_API: z.string().url(),
KRATOS_MASTER_USER_PASSWORD: z.string().min(1),
KRATOS_CALLBACK_API_KEY: z.string().min(1),

BRIA_HOST: z.string().min(1),
BRIA_PORT: z.number().min(1).or(z.string()).pipe(z.coerce.number()).default(2742),
Expand Down Expand Up @@ -165,7 +164,6 @@ export const env = createEnv({
KRATOS_PUBLIC_API: process.env.KRATOS_PUBLIC_API,
KRATOS_ADMIN_API: process.env.KRATOS_ADMIN_API,
KRATOS_MASTER_USER_PASSWORD: process.env.KRATOS_MASTER_USER_PASSWORD,
KRATOS_CALLBACK_API_KEY: process.env.KRATOS_CALLBACK_API_KEY,

BRIA_HOST: process.env.BRIA_HOST,
BRIA_PORT: process.env.BRIA_PORT,
Expand Down
1 change: 0 additions & 1 deletion core/api/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ export const TWILIO_VERIFY_SERVICE_ID = env.TWILIO_VERIFY_SERVICE_ID
export const KRATOS_PUBLIC_API = env.KRATOS_PUBLIC_API
export const KRATOS_ADMIN_API = env.KRATOS_ADMIN_API
export const KRATOS_MASTER_USER_PASSWORD = env.KRATOS_MASTER_USER_PASSWORD
export const KRATOS_CALLBACK_API_KEY = env.KRATOS_CALLBACK_API_KEY
export const BRIA_HOST = env.BRIA_HOST
export const BRIA_PORT = env.BRIA_PORT
export const BRIA_API_KEY = env.BRIA_API_KEY
Expand Down
1 change: 0 additions & 1 deletion core/api/src/servers/write-sdl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const envVarsWithDefaults = {
KRATOS_PUBLIC_API: "http://dummy",
KRATOS_ADMIN_API: "http://dummy",
KRATOS_MASTER_USER_PASSWORD: "dummy",
KRATOS_CALLBACK_API_KEY: "dummy",
BRIA_HOST: "dummy",
BRIA_API_KEY: "dummy",
NOTIFICATIONS_HOST: "dummy",
Expand Down
1 change: 0 additions & 1 deletion dev/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ core_serve_env = {
"KRATOS_PUBLIC_API": "http://localhost:4433",
"KRATOS_ADMIN_API": "http://localhost:4434",
"KRATOS_MASTER_USER_PASSWORD": "passwordHardtoFindWithNumber123",
"KRATOS_CALLBACK_API_KEY": "The-Value-of-My-Key",
"PRICE_HOST": "localhost",
"PRICE_HISTORY_HOST": "localhost",
"BRIA_HOST": "localhost",
Expand Down

0 comments on commit a031eac

Please sign in to comment.