Skip to content

Commit c02b593

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

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
@@ -2246,7 +2246,7 @@ gateway service routing also disables the application login endpoint.
22462246
The default is `false`, preserving existing service routing. Enable it with
22472247
`--service-auth-enabled true`, `OPENSHELL_SERVICE_AUTH_ENABLED=true`, or Helm
22482248
`server.serviceAuthEnabled: true`. The canonical Helm setting is
2249-
`gatewayConfig.gateway.service_auth_enabled`. Precedence is CLI > environment >
2249+
`gatewayConfig."openshell.gateway".service_auth_enabled`. Precedence is CLI > environment >
22502250
TOML > default, including explicit `false` values. This setting works with the
22512251
app listener enabled or disabled and with any compute driver supporting gateway
22522252
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
@@ -1834,7 +1834,7 @@ Direct listener authentication belongs to the ingress provider.
18341834

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

0 commit comments

Comments
 (0)