mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 01:27:31 +00:00
requested changes
This commit is contained in:
@@ -9,6 +9,8 @@ export async function up(knex: Knex): Promise<void> {
|
|||||||
await knex.schema.alterTable(TableName.DynamicSecret, (table) => {
|
await knex.schema.alterTable(TableName.DynamicSecret, (table) => {
|
||||||
table.uuid("gatewayId").nullable();
|
table.uuid("gatewayId").nullable();
|
||||||
table.foreign("gatewayId").references("id").inTable(TableName.Gateway).onDelete("SET NULL");
|
table.foreign("gatewayId").references("id").inTable(TableName.Gateway).onDelete("SET NULL");
|
||||||
|
|
||||||
|
table.index("gatewayId");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -16,5 +18,6 @@ export async function down(knex: Knex): Promise<void> {
|
|||||||
await knex.schema.alterTable(TableName.DynamicSecret, (table) => {
|
await knex.schema.alterTable(TableName.DynamicSecret, (table) => {
|
||||||
table.dropForeign("gatewayId");
|
table.dropForeign("gatewayId");
|
||||||
table.dropColumn("gatewayId");
|
table.dropColumn("gatewayId");
|
||||||
|
table.dropIndex("gatewayId");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -165,8 +165,7 @@ export const identityKubernetesAuthServiceFactory = ({
|
|||||||
// if ca cert, rejectUnauthorized: true
|
// if ca cert, rejectUnauthorized: true
|
||||||
httpsAgent: new https.Agent({
|
httpsAgent: new https.Agent({
|
||||||
ca: caCert,
|
ca: caCert,
|
||||||
// rejectUnauthorized: !!caCert,
|
rejectUnauthorized: !!caCert
|
||||||
rejectUnauthorized: false
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user