You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
needs-decision: OpenShell v0.1.5-rhaiv.4 gateway now refuses to start without an auth mechanism #809
OpenShell gateway v0.1.5-rhaiv.4 (upstream NVIDIA/OpenShell#4821,
"require authentication or explicit development opt-in") changes the gateway
binary's startup behavior: it now refuses to start - before binding any
port - when none of OIDC, mTLS user auth, operator auth, or gateway_jwt is
configured and allow_unauthenticated_users is not explicitly true.
Previously, that same configuration only logged a warning and served requests
through an implicit unauthenticated dev principal.
Why this is a decision, not a mechanical fix
HyperShell's own ValidateRenderedGatewayConfig (and its test, rendered_config_test.go's "well-formed without oidc passes" case) still
treats allow_unauthenticated_users = false with no OIDC/mTLS/JWT section as a valid rendered gateway.toml. The control plane renders exactly that
configuration for any Gateway reconciled while Keycloak integration is
disabled (no hypershell-keycloak-admin Secret in the control-plane
namespace, see specs/platform/openshell-gateway-keycloak.spec.md) and no BYO oidc.issuer was set on the Gateway resource - see specs/platform/openshell-gateway.spec.md "OIDC Section (conditional)" and
"Auth Section", and reconciler.go's // Step 3: IdentityProviderReady (only when Keycloak is configured) block in ReconcileGateway.
After this bump, any such gateway will crash-loop on startup instead of
running (insecurely) as before. This is a deliberate upstream security
hardening, not a bug, but it is a behavior HyperShell needs to decide how to
handle:
Make ValidateGatewayConfig/ValidateRenderedGatewayConfig reject this
combination at reconcile time, surfacing a clear GatewayDeployed: Failed
status reason instead of a crash loop discovered only in pod logs. This
does not change what gateways are deployable - just where the failure
surfaces.
Require OIDC (or another auth mechanism) at Gateway creation time so
this configuration can never be reconciled in the first place - a bigger
product change (OIDC is currently optional per data-model.spec.md).
Default to allow_unauthenticated_users = true when no other
mechanism is configured, preserving the pre-rhaiv.4 pass-through behavior
for trusted-network/BYO-ingress deployments - the least-secure option.
Where this was found
openshift-online/hypershell PR bumping OPENSHELL_TAG from v0.1.5-rhaiv.3 to v0.1.5-rhaiv.4, triaged by the update-openshell skill.
See skills/tooling/update-openshell/SKILL.md Learnings log, entry dated
2026-10-28, and the note added to specs/platform/openshell-gateway.spec.md's Auth Section.
Scope note
This issue is about the auth-gate behavior, not the console dashboard
pin - that is tracked separately in #760 and #752.
This finding still applies at the newer stable midstream tag, v0.1.6-rhaiv.0. PR #822 carries the mechanical version bump forward from the stale PR #810 (which targeted the intermediate v0.1.5-rhaiv.4 and now conflicts with main); it does not change ValidateRenderedGatewayConfig or otherwise resolve this issue. Leaving this open for a maintainer decision.
This finding still applies at the newer stable midstream tag, v0.1.6-rhaiv.1. PR #845 carries the mechanical version bump forward (superseding the now-stale #810 and #822) and adds the drafted-but-never-merged Auth Section note to openshell-gateway.spec.md documenting this gap; it does not change ValidateRenderedGatewayConfig or otherwise resolve this issue. Leaving this open for a maintainer decision.
This finding still applies at the newer stable midstream tag, v0.1.6-rhaiv.2. PR #874 carries the mechanical version bump forward (superseding the now-stale #810, #822, and #845); it does not change ValidateRenderedGatewayConfig or otherwise resolve this issue. Leaving this open for a maintainer decision.
Activity
hypershell-builder commentedon Oct 29, 2026
This finding still applies at the newer stable midstream tag,
v0.1.6-rhaiv.0. PR #822 carries the mechanical version bump forward from the stale PR #810 (which targeted the intermediatev0.1.5-rhaiv.4and now conflicts withmain); it does not changeValidateRenderedGatewayConfigor otherwise resolve this issue. Leaving this open for a maintainer decision.hypershell-builder commentedon Oct 30, 2026
This finding still applies at the newer stable midstream tag,
v0.1.6-rhaiv.1. PR #845 carries the mechanical version bump forward (superseding the now-stale #810 and #822) and adds the drafted-but-never-merged Auth Section note toopenshell-gateway.spec.mddocumenting this gap; it does not changeValidateRenderedGatewayConfigor otherwise resolve this issue. Leaving this open for a maintainer decision.hypershell-builder commentedon Oct 31, 2026
This finding still applies at the newer stable midstream tag,
v0.1.6-rhaiv.2. PR #874 carries the mechanical version bump forward (superseding the now-stale #810, #822, and #845); it does not changeValidateRenderedGatewayConfigor otherwise resolve this issue. Leaving this open for a maintainer decision.