Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Merge remote-tracking branch 'origin/main' into bernie/pam-341-add-kubernetes-auth-support-for-gateway-enrollment

bernie-g4663b199af97
diff --cc backend/src/ee/routes/v1/kmip-server-router.ts
index f0ae286e55,f77d78745d..7e891fe373
--- a/backend/src/ee/routes/v1/kmip-server-router.ts
+++ b/backend/src/ee/routes/v1/kmip-server-router.ts
@@@ -2,9 -2,9 +2,10 @@@ import z from "zod"
import { KmipServersSchema } from "@app/db/schemas";
import { EventType, UserAgentType } from "@app/ee/services/audit-log/audit-log-types";
+ import { MIN_SERVER_CERT_TTL } from "@app/ee/services/kmip/kmip-service";
import { validateAccountIds, validatePrincipalArns } from "@app/ee/services/resource-auth-method/aws-auth-validators";
import { ResourceAuthMethodType } from "@app/ee/services/resource-auth-method/resource-auth-method-fns";
+import { AuthMethodViewSchema } from "@app/ee/services/resource-auth-method/resource-auth-method-schemas";
import { ApiDocsTags } from "@app/lib/api-docs";
import { BadRequestError, UnauthorizedError } from "@app/lib/errors";
import { ms } from "@app/lib/ms";
diff --cc frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDeploySection/GatewayDeploySection.tsx
index 23e1443660,4387d12210..498138cd36
--- a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDeploySection/GatewayDeploySection.tsx
+++ b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDeploySection/GatewayDeploySection.tsx
@@@ -78,25 -70,12 +78,25 @@@ export const GatewayDeploySection = ({
<h2 id="gateway-deployment-title">Deployment</h2>
<DocumentationLinkBadge href="https://infisical.com/docs/cli/overview" />
</CardTitle>
- <CardDescription>Run this gateway on a target host.</CardDescription>
+ <CardDescription>
+ {isKubernetes
+ ? "Run this gateway in your Kubernetes cluster."
+ : "Run this gateway on a target host."}
+ </CardDescription>
{canEditGateway && showDeploymentControls && (
<CardAction>
- <TabsList variant="filled">
+ <TabsList variant="filled" aria-label="Deployment method">
- <TabsTrigger value="cli">CLI</TabsTrigger>
- <TabsTrigger value="systemd">System service</TabsTrigger>
+ {isKubernetes ? (
+ <>
+ <TabsTrigger value="helm">Helm</TabsTrigger>
+ <TabsTrigger value="cli">Container command</TabsTrigger>
+ </>
+ ) : (
+ <>
+ <TabsTrigger value="cli">CLI</TabsTrigger>
+ <TabsTrigger value="systemd">System service</TabsTrigger>
+ </>
+ )}
</TabsList>
</CardAction>
)}