Skip to content

Commit dfa898d

Browse files
committed
fix(helm): use canonical service authentication configuration
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
1 parent e5f7f35 commit dfa898d

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎deploy/helm/openshell/tests/gateway_config_test.yaml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ tests:
5050
template: templates/gateway-config.yaml
5151
set:
5252
server.serviceAuthEnabled: true
53-
gatewayConfig.gateway.service_auth_enabled: false
53+
gatewayConfig:
54+
openshell.gateway:
55+
service_auth_enabled: false
5456
asserts:
5557
- matchRegex:
5658
path: data["gateway.toml"]

‎docs/how-it-works/gateways/configuration.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2204,7 +2204,7 @@ gateway service routing also disables the application login endpoint.
22042204
The default is `false`, preserving existing service routing. Enable it with
22052205
`--service-auth-enabled true`, `OPENSHELL_SERVICE_AUTH_ENABLED=true`, or Helm
22062206
`server.serviceAuthEnabled: true`. The canonical Helm setting is
2207-
`gatewayConfig.gateway.service_auth_enabled`. Precedence is CLI > environment >
2207+
`gatewayConfig."openshell.gateway".service_auth_enabled`. Precedence is CLI > environment >
22082208
TOML > default, including explicit `false` values. This setting works with the
22092209
app listener enabled or disabled and with any compute driver supporting gateway
22102210
service forwarding. It uses the gateway's configured authentication and workspace

‎skills/debug-openshell-cluster/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1799,7 +1799,7 @@ Direct listener authentication belongs to the ingress provider.
17991799

18001800
Gateway service auth is opt-in with `[openshell.gateway].service_auth_enabled = true`,
18011801
`--service-auth-enabled true`, or `OPENSHELL_SERVICE_AUTH_ENABLED=true`. Helm uses
1802-
`server.serviceAuthEnabled` or canonical `gatewayConfig.gateway.service_auth_enabled`.
1802+
`server.serviceAuthEnabled` or canonical `gatewayConfig."openshell.gateway".service_auth_enabled`.
18031803
It defaults to false and is independent of `supervisor_app_listener.enabled`.
18041804
When debugging unexpected application 401/403 responses or browser login, check
18051805
this flag before inspecting the configured gateway authentication and workspace

0 commit comments

Comments
 (0)