diff --git a/.env.example b/.env.example index 95fc07bc5..05a888db0 100644 --- a/.env.example +++ b/.env.example @@ -135,4 +135,3 @@ DATADOG_HOSTNAME= # kubernetes KUBERNETES_AUTO_FETCH_SERVICE_ACCOUNT_TOKEN=false -INFISICAL_KUBERNETES_SERVICE_ACCOUNT_TOKEN_PATH= diff --git a/backend/src/lib/config/env.ts b/backend/src/lib/config/env.ts index 294210499..d5878837f 100644 --- a/backend/src/lib/config/env.ts +++ b/backend/src/lib/config/env.ts @@ -28,7 +28,6 @@ const databaseReadReplicaSchema = z const envSchema = z .object({ INFISICAL_PLATFORM_VERSION: zpStr(z.string().optional()), - INFISICAL_KUBERNETES_SERVICE_ACCOUNT_TOKEN_PATH: zpStr(z.string().optional()), KUBERNETES_AUTO_FETCH_SERVICE_ACCOUNT_TOKEN: zodStrBool.default("false"), PORT: z.coerce.number().default(IS_PACKAGED ? 8080 : 4000), DISABLE_SECRET_SCANNING: z diff --git a/docs/self-hosting/configuration/envars.mdx b/docs/self-hosting/configuration/envars.mdx index 42d289804..1e050ff14 100644 --- a/docs/self-hosting/configuration/envars.mdx +++ b/docs/self-hosting/configuration/envars.mdx @@ -59,6 +59,15 @@ Example values: connect with internal/private IP addresses. + + Determines whether your Infisical instance can automatically read the service account token of the pod it's running on. Used for features such as the IRSA auth method. + + ## CORS Cross-Origin Resource Sharing (CORS) is a security feature that allows web applications running on one domain to access resources from another domain.