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(gateways): restore --target-relay-name and harden direct address dialing
bernie-g5afb559ad372
diff --git a/backend/src/ee/services/dynamic-secret/dynamic-secret-fns.ts b/backend/src/ee/services/dynamic-secret/dynamic-secret-fns.tsindex e620e015b6..b3da9da0f2 100644--- a/backend/src/ee/services/dynamic-secret/dynamic-secret-fns.ts+++ b/backend/src/ee/services/dynamic-secret/dynamic-secret-fns.ts@@ -3,7 +3,7 @@ import net from "node:net";import { getConfig } from "@app/lib/config/env";import { BadRequestError } from "@app/lib/errors";-import { isPrivateIp } from "@app/lib/ip/ipRange";+import { getIpRange, isPrivateIp } from "@app/lib/ip/ipRange";import { getDbConnectionHost } from "@app/lib/knex";const getReservedIps = async () => {@@ -30,6 +30,19 @@ const getReservedIps = async () => {};// Unlike verifyHostInputValidity, allows private hosts: a gateway's listen address is private by design.+// A direct gateway lives on a private network, so private and unique-local space stays allowed.+// Everything else here would point the platform at itself or at its own link-local neighbours,+// including the cloud metadata endpoint on 169.254.0.0/16.+const UNDIALABLE_IP_RANGES = new Set([+ "unspecified",+ "broadcast",+ "multicast",+ "linkLocal",+ "loopback",+ "reserved",+ "ipv4Mapped"+]);+export const assertHostNotInfisicalInfrastructure = async ({ host }: { host: string }) => {const appCfg = getConfig();if (appCfg.isDevelopmentMode || appCfg.isTestMode) return;@@ -46,6 +59,13 @@ export const assertHostNotInfisicalInfrastructure = async ({ host }: { host: str}}+ const undialable = hostIps.find((el) => UNDIALABLE_IP_RANGES.has(getIpRange(el)));+ if (undialable) {+ throw new BadRequestError({+ message: `The address ${undialable} cannot be dialed by Infisical. Use an address the Infisical instance can reach over your network.`+ });+ }+const exclusiveIps = await getReservedIps();if (hostIps.some((el) => exclusiveIps.includes(el))) {throw new BadRequestError({diff --git a/docs/cli/commands/gateway.mdx b/docs/cli/commands/gateway.mdxindex 2c58d4fb5d..2b7116ae30 100644--- a/docs/cli/commands/gateway.mdx+++ b/docs/cli/commands/gateway.mdx@@ -25,7 +25,7 @@ There are two ways the gateway and Infisical reach each other:- **Direct listen.** The gateway listens on the address you set with `--listen-address`, and Infisical connects to it. No relay is needed. Self-hosted Infisical only.- **Relay.** The gateway opens an SSH reverse tunnel to a relay server, and Infisical reaches it back through that tunnel. No inbound ports have to be open on the gateway host.-Passing `--listen-address` and `--relay` together runs both, and Infisical uses the listen address first, keeping the relay as a fallback. See [Network architecture](/documentation/platform/gateways/network-architecture) for the ports and traffic flow of each.+Passing `--listen-address` and `--target-relay-name` together runs both, and Infisical uses the listen address first, keeping the relay as a fallback. See [Network architecture](/documentation/platform/gateways/network-architecture) for the ports and traffic flow of each.## Subcommands & flags@@ -40,7 +40,7 @@ infisical gateway start <gateway-name> --enroll-method=token --token=<enrollmentThe gateway name is provided as a positional argument.<Info>- With no `--listen-address` and no `--relay`, the gateway connects to the relay with the lowest latency. To target a specific relay, use `--relay=<relay-name>`. To skip relays entirely, use `--listen-address=<host:port>`.+ With no `--listen-address` and no `--target-relay-name`, the gateway connects to the relay with the lowest latency. To target a specific relay, use `--target-relay-name=<relay-name>`. To skip relays entirely, use `--listen-address=<host:port>`.</Info>Once started, the gateway component will:@@ -50,7 +50,7 @@ Once started, the gateway component will:In relay mode it also:-- Connects to a healthy relay with the lowest latency, unless `--relay` names one+- Connects to a healthy relay with the lowest latency, unless `--target-relay-name` names one- Establishes an outbound SSH reverse tunnel to the relay, so no inbound firewall rules are needed- Reconnects if the connection is lost, and fails over to a different healthy relay if the current one becomes unreachable@@ -133,14 +133,14 @@ In direct listen mode it also:</Accordion>- <Accordion title="--relay">+ <Accordion title="--target-relay-name">The name of the relay that this gateway should connect to. The relay must be running and registered before starting the gateway.If this flag is omitted and no `--listen-address` is set, the gateway connects to a healthy relay with the lowest latency.```bash# Example- infisical gateway start my-gateway --relay=my-relay --enroll-method=token --token=<token> --domain=<domain>+ infisical gateway start my-gateway --target-relay-name=my-relay --enroll-method=token --token=<token> --domain=<domain>```Can also be set with the `INFISICAL_RELAY_NAME` environment variable.@@ -159,10 +159,10 @@ In direct listen mode it also:infisical gateway start my-gateway --listen-address=gateway.internal:8443 --enroll-method=token --token=<token> --domain=<domain>```- Pass it alongside `--relay` to run both modes, so Infisical uses the listen address first and falls back to the relay. This is how you switch an existing gateway between modes without an outage, and [Switching modes without an outage](/documentation/platform/gateways/gateway-deployment#switching-modes-without-an-outage) covers when to keep both:+ Pass it alongside `--target-relay-name` to run both modes, so Infisical uses the listen address first and falls back to the relay. This is how you switch an existing gateway between modes without an outage, and [Switching modes without an outage](/documentation/platform/gateways/gateway-deployment#switching-modes-without-an-outage) covers when to keep both:```bash- infisical gateway start my-gateway --listen-address=gateway.internal:8443 --relay=my-relay --enroll-method=token --token=<token> --domain=<domain>+ infisical gateway start my-gateway --listen-address=gateway.internal:8443 --target-relay-name=my-relay --enroll-method=token --token=<token> --domain=<domain>```Can also be set with the `INFISICAL_GATEWAY_LISTEN_ADDRESS` environment variable.@@ -261,14 +261,14 @@ sudo infisical gateway systemd install my-gateway --enroll-method=token --token=</Accordion>- <Accordion title="--relay">+ <Accordion title="--target-relay-name">The name of the relay that this gateway should connect to. The relay must be running and registered before starting the gateway.If this flag is omitted and no `--listen-address` is set, the gateway connects to a healthy relay with the lowest latency.```bash# Example- sudo infisical gateway systemd install my-gateway --relay=my-relay --enroll-method=token --token=<token> --domain=<domain>+ sudo infisical gateway systemd install my-gateway --target-relay-name=my-relay --enroll-method=token --token=<token> --domain=<domain>```For Infisical Cloud users on instance relays, the relay infrastructure is already running and managed by Infisical. If using organization relays or self-hosted instance relays, start a relay server first. See the [Relay Deployment Guide](/documentation/platform/gateways/relay-deployment).@@ -283,7 +283,7 @@ sudo infisical gateway systemd install my-gateway --enroll-method=token --token=sudo infisical gateway systemd install my-gateway --listen-address=gateway.internal:8443 --enroll-method=token --token=<token> --domain=<domain>```- Pass it alongside `--relay` to run both modes. See the `infisical gateway start` reference above for what the address has to satisfy.+ Pass it alongside `--target-relay-name` to run both modes. See the `infisical gateway start` reference above for what the address has to satisfy.</Accordion>@@ -354,9 +354,9 @@ The gateway name is provided as a positional argument.Yes. The CLI stores the enrollment token locally after the first successful enrollment. If you run the same command again with the same `--token` value, it detects the token has already been used and skips enrollment, proceeding directly to start the gateway. This means you can safely use the same command (e.g., via up-arrow in your shell) without getting "token already used" or "token expired" errors.</Accordion><Accordion title="How are relays auto-selected?">- If `--relay` and `--listen-address` are both omitted, the gateway automatically selects the optimal relay. It first checks for healthy organization relays and connects to the one with the lowest latency. If no organization relays are available, it then performs the same latency-based selection among the available managed relays.+ If `--target-relay-name` and `--listen-address` are both omitted, the gateway automatically selects the optimal relay. It first checks for healthy organization relays and connects to the one with the lowest latency. If no organization relays are available, it then performs the same latency-based selection among the available managed relays.- If the selected relay becomes unreachable while the gateway is running, the gateway will automatically switch to a different healthy one. Gateways started with an explicit `--relay` do not switch and will keep retrying the specified relay.+ If the selected relay becomes unreachable while the gateway is running, the gateway will automatically switch to a different healthy one. Gateways started with an explicit `--target-relay-name` do not switch and will keep retrying the specified relay.</Accordion><Accordion title="Which mode do I get if I pass no connection flags?">Relay mode, with a relay chosen automatically. Direct listen is opt-in: the gateway only listens for connections when you pass `--listen-address`.diff --git a/docs/contributing/platform/pam-development.mdx b/docs/contributing/platform/pam-development.mdxindex bf6ec15316..7745e6149b 100644--- a/docs/contributing/platform/pam-development.mdx+++ b/docs/contributing/platform/pam-development.mdx@@ -79,7 +79,7 @@ Verify registration at **Organization Settings** > **Networking** > **Gateways**For all available flags, see the [Gateway CLI Reference](/cli/commands/gateway).<Accordion title="Using a relay instead">-Direct listen needs nothing else running, so prefer it unless you're testing relay behaviour itself. For that, start a relay first and point the gateway at it with `--relay` instead of `--listen-address`:+Direct listen needs nothing else running, so prefer it unless you're testing relay behaviour itself. For that, start a relay first and point the gateway at it with `--target-relay-name` instead of `--listen-address`:```bashgo run main.go relay start \@@ -93,7 +93,7 @@ go run main.go relay start \go run main.go gateway start \--token=<your-token> \--domain=http://localhost:8080 \- --relay=local-relay \+ --target-relay-name=local-relay \--name=local-gateway \--pam-session-recording-path=$(pwd)/session```diff --git a/docs/documentation/platform/gateways/gateway-deployment.mdx b/docs/documentation/platform/gateways/gateway-deployment.mdxindex 05455f7ae2..2c3f530d51 100644--- a/docs/documentation/platform/gateways/gateway-deployment.mdx+++ b/docs/documentation/platform/gateways/gateway-deployment.mdx@@ -90,7 +90,7 @@ For the ports, certificates, and traffic flow behind each mode, see [Network arcThe examples below are grouped by authentication method. The connection mode is set by two flags, which you can add to any of them:- `--listen-address=<host:port>` for direct listen, where `host:port` is the address Infisical dials- - `--relay=<relay-name>` to pin a relay, or omit it to let the gateway pick the healthiest one+ - `--target-relay-name=<relay-name>` to pin a relay, or omit it to let the gateway pick the healthiest onePassing both runs the gateway in both modes.@@ -105,7 +105,7 @@ For the ports, certificates, and traffic flow behind each mode, see [Network arc# Both modesinfisical gateway start my-gateway \--listen-address=gateway.internal:8443 \- --relay=my-relay \+ --target-relay-name=my-relay \--enroll-method=token \--token=<enrollment-token> \--domain=<your-infisical-domain>@@ -336,17 +336,17 @@ To migrate a gateway to a different host with zero downtime: select **Generate d## Switching modes without an outage-A Gateway can run both modes at once. Pass `--relay` and `--listen-address` together, and Infisical uses the listen address first, falling back to the relay when that address stops answering. Health checks probe each mode separately. The Gateway stays healthy while either one works.+A Gateway can run both modes at once. Pass `--target-relay-name` and `--listen-address` together, and Infisical uses the listen address first, falling back to the relay when that address stops answering. Health checks probe each mode separately. The Gateway stays healthy while either one works.Running both is mainly how you switch an existing Gateway between modes without an outage. A Gateway declares its transports every time it registers, so the move is a flag change and a restart:| Flags | Mode ||---|---|-| `--relay=my-relay` | Relay only |-| `--relay=my-relay --listen-address=gateway.internal:8443` | Both |+| `--target-relay-name=my-relay` | Relay only |+| `--target-relay-name=my-relay --listen-address=gateway.internal:8443` | Both || `--listen-address=gateway.internal:8443` | Direct only |-Stop at the middle step and check the Gateway's health. A wrong address costs you nothing there: operations keep completing over the relay, and the Gateway page reports the direct path as unreachable. Drop `--relay` once direct is healthy, or drop `--listen-address` to go back.+Stop at the middle step and check the Gateway's health. A wrong address costs you nothing there: operations keep completing over the relay, and the Gateway page reports the direct path as unreachable. Drop `--target-relay-name` once direct is healthy, or drop `--listen-address` to go back.Running both permanently only helps clients that can reach the listen address. PAM CLI sessions dial the Gateway from the user's own machine. A user outside the network waits for that attempt to time out before the session falls back to the relay. If most of your CLI users are outside the network, relay mode alone serves them better.@@ -369,7 +369,7 @@ In direct listen mode, one inbound port has to be open: the port in your listen<Accordion title="Can I switch a gateway between relay and direct listen?">Yes. Open the gateway's detail page, choose the mode you want under **Connection Mode**, and re-run the generated command on the host. The gateway re-registers with the new mode and is issued the certificate it needs for it.-Switching away from a mode drops it. To keep both, pass `--relay` and `--listen-address` together.+Switching away from a mode drops it. To keep both, pass `--target-relay-name` and `--listen-address` together.</Accordion>diff --git a/docs/documentation/platform/gateways/network-architecture.mdx b/docs/documentation/platform/gateways/network-architecture.mdxindex 568119b041..6fb8189179 100644--- a/docs/documentation/platform/gateways/network-architecture.mdx+++ b/docs/documentation/platform/gateways/network-architecture.mdx@@ -104,7 +104,7 @@ If you run a self-hosted relay, that host needs:</Accordion><Accordion title="Which relay address do I need to allowlist?">- With the default **Auto Select Relay**, the Gateway may connect to, and fail over between, any managed relay Infisical operates for your region, so a strict outbound TCP 2222 allowlist must include every managed relay endpoint. You can find these under **Organization Settings → Networking**, or ask Infisical support. To allowlist a single address instead, pin the Gateway to one relay at enrollment with the `--relay` option; this removes automatic failover to other relays.+ With the default **Auto Select Relay**, the Gateway may connect to, and fail over between, any managed relay Infisical operates for your region, so a strict outbound TCP 2222 allowlist must include every managed relay endpoint. You can find these under **Organization Settings → Networking**, or ask Infisical support. To allowlist a single address instead, pin the Gateway to one relay at enrollment with the `--target-relay-name` option; this removes automatic failover to other relays.</Accordion><Accordion title="Can Gateway traffic egress through an HTTP forward proxy?">diff --git a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayAuthMethod/AwsStartCommandDialog.tsx b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayAuthMethod/AwsStartCommandDialog.tsxindex dc05b1ca56..36b123e080 100644--- a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayAuthMethod/AwsStartCommandDialog.tsx+++ b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayAuthMethod/AwsStartCommandDialog.tsx@@ -40,13 +40,13 @@ export const AwsStartCommandContent = ({const resolvedRelayName = isDirect || relay.id === "_auto" ? "" : relay.name;const cliCommand = useMemo(() => {- const relayPart = resolvedRelayName ? ` --relay=${resolvedRelayName}` : "";+ const relayPart = resolvedRelayName ? ` --target-relay-name=${resolvedRelayName}` : "";const directPart = isDirect ? ` --listen-address=${listenAddress || PLACEHOLDER_ADDRESS}` : "";return `infisical gateway start ${gatewayName} --enroll-method=aws --gateway-id=${gatewayId}${relayPart}${directPart} --domain=${siteURL}`;}, [gatewayName, gatewayId, isDirect, listenAddress, resolvedRelayName, siteURL]);const systemdInstallCommand = useMemo(() => {- const relayPart = resolvedRelayName ? ` --relay=${resolvedRelayName}` : "";+ const relayPart = resolvedRelayName ? ` --target-relay-name=${resolvedRelayName}` : "";const directPart = isDirect ? ` --listen-address=${listenAddress || PLACEHOLDER_ADDRESS}` : "";return `sudo infisical gateway systemd install ${gatewayName} --enroll-method=aws --gateway-id=${gatewayId}${relayPart}${directPart} --domain=${siteURL}`;}, [gatewayName, gatewayId, isDirect, listenAddress, resolvedRelayName, siteURL]);diff --git a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayAuthMethod/EnrollmentTokenDialog.tsx b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayAuthMethod/EnrollmentTokenDialog.tsxindex 7913f5ccef..cc4bb08dc3 100644--- a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayAuthMethod/EnrollmentTokenDialog.tsx+++ b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayAuthMethod/EnrollmentTokenDialog.tsx@@ -79,13 +79,13 @@ export const EnrollmentTokenContent = ({const isExpired = expiryLabel === "Expired";const cliCommand = useMemo(() => {- const relayPart = resolvedRelayName ? ` --relay=${resolvedRelayName}` : "";+ const relayPart = resolvedRelayName ? ` --target-relay-name=${resolvedRelayName}` : "";const directPart = isDirect ? ` --listen-address=${listenAddress || PLACEHOLDER_ADDRESS}` : "";return `infisical gateway start ${gatewayName} --enroll-method=token --token=${enrollmentToken}${relayPart}${directPart} --domain=${siteURL}`;}, [gatewayName, enrollmentToken, isDirect, listenAddress, resolvedRelayName, siteURL]);const systemdInstallCommand = useMemo(() => {- const relayPart = resolvedRelayName ? ` --relay=${resolvedRelayName}` : "";+ const relayPart = resolvedRelayName ? ` --target-relay-name=${resolvedRelayName}` : "";const directPart = isDirect ? ` --listen-address=${listenAddress || PLACEHOLDER_ADDRESS}` : "";return `sudo infisical gateway systemd install ${gatewayName} --enroll-method=token --token=${enrollmentToken}${relayPart}${directPart} --domain=${siteURL}`;}, [gatewayName, enrollmentToken, isDirect, listenAddress, resolvedRelayName, siteURL]);diff --git a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayAuthMethod/KubernetesStartCommandDialog.tsx b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayAuthMethod/KubernetesStartCommandDialog.tsxindex 1aa724f1fe..db2c4ebbd1 100644--- a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayAuthMethod/KubernetesStartCommandDialog.tsx+++ b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayAuthMethod/KubernetesStartCommandDialog.tsx@@ -61,7 +61,7 @@ helm install infisical-gateway infisical/infisical-gateway \\}, [gatewayName, gatewayId, isDirect, listenAddress, resolvedRelayName, siteURL]);const cliCommand = useMemo(() => {- const relayPart = resolvedRelayName ? ` --relay=${resolvedRelayName}` : "";+ const relayPart = resolvedRelayName ? ` --target-relay-name=${resolvedRelayName}` : "";const directPart = isDirect ? ` --listen-address=${listenAddress || PLACEHOLDER_ADDRESS}` : "";return `infisical gateway start ${gatewayName} --enroll-method=kubernetes --gateway-id=${gatewayId}${relayPart}${directPart} --domain=${siteURL}`;}, [gatewayName, gatewayId, isDirect, listenAddress, resolvedRelayName, siteURL]);diff --git a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDeploySection/GatewayDeploySection.tsx b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDeploySection/GatewayDeploySection.tsxindex 3bc5017079..c42f554a97 100644--- a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDeploySection/GatewayDeploySection.tsx+++ b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDeploySection/GatewayDeploySection.tsx@@ -181,8 +181,7 @@ export const GatewayDeploySection = ({</FieldTitle><FieldDescription>Infisical opens the connection to the gateway. Choose this when your- self-hosted Infisical runs on the same private network as the gateway,- so it can reach the gateway's address without a relay.+ self-hosted Infisical can reach the gateway's address.</FieldDescription></FieldContent><RadioGroupItem value="direct" id="gateway-connection-mode-direct" />diff --git a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDetailsCard/GatewayDetailsCard.tsx b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDetailsCard/GatewayDetailsCard.tsxindex f7ad198b3d..71579e1123 100644--- a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDetailsCard/GatewayDetailsCard.tsx+++ b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayDetailsCard/GatewayDetailsCard.tsx@@ -76,17 +76,7 @@ export const GatewayDetailsCard = ({ gateway }: { gateway: TGatewayV2WithAuthMetconst { authMethod } = gateway;const isIdentityGateway = authMethod.method === "identity";const effectiveHeartbeat = getLastSeenHeartbeat(gateway);- const describeConnection = () => {- if (gateway.directAddress) {- const mode = gateway.relayId ? "Direct + Relay" : "Direct";- return `${mode} (${gateway.directAddress})`;- }- return gateway.relayId ? "Relay" : "Not configured";- };- const connection = describeConnection();- // With one transport the badge and Last Seen above already say it.const transportHealth = getGatewayTransportHealth(gateway);- const perTransportHealth = transportHealth.length > 1 ? transportHealth : [];return (<Card className="w-full">@@ -127,24 +117,38 @@ export const GatewayDetailsCard = ({ gateway }: { gateway: TGatewayV2WithAuthMet<Detail><DetailLabel>Connection</DetailLabel><DetailValue className="flex flex-col items-start gap-1">- <span>{connection}</span>- {perTransportHealth.map((transport) => (- <span key={transport.transport} className="flex items-center gap-2 text-xs">- <Badge variant={transport.isHealthy ? "success" : "danger"} iconPosition="left">- {transport.isHealthy ? (- <CircleCheckIcon className="size-3" />- ) : (- <CircleXIcon className="size-3" />- )}- {transport.label}- </Badge>- <span className="text-muted">- {transport.probedAt- ? `last seen ${format(new Date(transport.probedAt), "PPp")}`- : "never reached"}+ {transportHealth.length ? (+ transportHealth.map((transport) => (+ <span key={transport.transport} className="flex items-center gap-2">+ <Tooltip>+ <TooltipTrigger asChild>+ <Badge+ variant={transport.isHealthy ? "success" : "danger"}+ iconPosition="left"+ className="cursor-default"+ >+ {transport.isHealthy ? (+ <CircleCheckIcon className="size-3" />+ ) : (+ <CircleXIcon className="size-3" />+ )}+ {transport.label}+ </Badge>+ </TooltipTrigger>+ <TooltipContent>+ {transport.probedAt+ ? `Last seen ${format(new Date(transport.probedAt), "PPpp")}`+ : "Never reached"}+ </TooltipContent>+ </Tooltip>+ {transport.transport === "direct" && gateway.directAddress ? (+ <span className="text-muted text-xs">{gateway.directAddress}</span>+ ) : null}</span>- </span>- ))}+ ))+ ) : (+ <span className="text-muted">Not configured</span>+ )}</DetailValue></Detail><Detail>diff --git a/helm-charts/infisical-gateway/CHANGELOG.md b/helm-charts/infisical-gateway/CHANGELOG.mdindex ab3307e158..17bb14a222 100644--- a/helm-charts/infisical-gateway/CHANGELOG.md+++ b/helm-charts/infisical-gateway/CHANGELOG.md@@ -4,7 +4,6 @@* **Breaking:** the Service is created only in direct listen mode. A relay-mode gateway accepts no inbound connections, so the chart no longer creates a Service for one. Relay-mode installs upgrading from 1.4.0 will have their Service removed.* **Breaking:** `service.port` now defaults to `""`, meaning the port from `gateway.listenAddress`, rather than `80`. A Service answering on any other port is unreachable at the address registered with Infisical. Set it explicitly to put a different port in front of the gateway.* `gateway.relayName` and `gateway.listenAddress` can be set together to run both transports. Infisical then prefers the direct address and falls back to the relay.-* `gateway.relayName` now renders as `--relay`, replacing the deprecated `--target-relay-name`.* `gateway.listenAddress` requires an `image.tag` whose CLI supports `--listen-address`. The default tag predates the flag, and a gateway started with it crash-loops on `unknown flag: --listen-address`.## 1.4.0 (August 6, 2026)diff --git a/helm-charts/infisical-gateway/ci/default-values.yaml b/helm-charts/infisical-gateway/ci/default-values.yamlindex 736f1711bb..a496b33aa1 100644--- a/helm-charts/infisical-gateway/ci/default-values.yaml+++ b/helm-charts/infisical-gateway/ci/default-values.yaml@@ -4,4 +4,4 @@gateway:name: ci-test-gatewayextraArgs:- - --relay=ci-test-relay+ - --target-relay-name=ci-test-relaydiff --git a/helm-charts/infisical-gateway/templates/deployment.yaml b/helm-charts/infisical-gateway/templates/deployment.yamlindex b50ae3db4e..1b45eb938d 100644--- a/helm-charts/infisical-gateway/templates/deployment.yaml+++ b/helm-charts/infisical-gateway/templates/deployment.yaml@@ -122,7 +122,7 @@ spec:{{- end }}{{- end }}{{- if .Values.gateway.relayName }}- - --relay={{ .Values.gateway.relayName }}+ - --target-relay-name={{ .Values.gateway.relayName }}{{- end }}{{- if .Values.gateway.listenAddress }}- --listen-address={{ .Values.gateway.listenAddress }}