Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: resolved pipeline failing
=31bc54e7e6c8
diff --git a/backend/src/db/migrations/20250921120821_k8-auth-name-increase.ts b/backend/src/db/migrations/20250921120821_k8-auth-name-increase.tsindex 3555231a77..9cd8a8d4fb 100644--- a/backend/src/db/migrations/20250921120821_k8-auth-name-increase.ts+++ b/backend/src/db/migrations/20250921120821_k8-auth-name-increase.ts@@ -1,4 +1,5 @@import { Knex } from "knex";+import { TableName } from "../schemas";export async function up(knex: Knex): Promise<void> {@@ -8,9 +9,9 @@ export async function up(knex: Knex): Promise<void> {if (hasAllowedNamespaces || hasAllowedNames || hasAllowedAudience) {await knex.schema.alterTable(TableName.IdentityKubernetesAuth, (t) => {- if (hasAllowedNames) t.string("allowedNames", 1000).alter();- if (hasAllowedNamespaces) t.string("allowedNamespaces", 1000).alter();- if (hasAllowedAudience) t.string("allowedAudience", 1000).alter();+ if (hasAllowedNames) t.string("allowedNames", 1000).notNullable().alter();+ if (hasAllowedNamespaces) t.string("allowedNamespaces", 1000).notNullable().alter();+ if (hasAllowedAudience) t.string("allowedAudience", 1000).notNullable().alter();});}}@@ -22,9 +23,9 @@ export async function down(knex: Knex): Promise<void> {if (hasAllowedNamespaces || hasAllowedNames || hasAllowedAudience) {await knex.schema.alterTable(TableName.IdentityKubernetesAuth, (t) => {- if (hasAllowedNames) t.string("allowedNames", 255).alter();- if (hasAllowedNamespaces) t.string("allowedNamespaces", 255).alter();- if (hasAllowedAudience) t.string("allowedAudience", 255).alter();+ if (hasAllowedNames) t.string("allowedNames", 255).notNullable().alter();+ if (hasAllowedNamespaces) t.string("allowedNamespaces", 255).notNullable().alter();+ if (hasAllowedAudience) t.string("allowedAudience", 255).notNullable().alter();});}}