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
8000
Generated HTTPS NetworkPolicy allows direct access when no source peers are configured #55545
The Keycloak Operator generates an HTTPS ingress rule without a source restriction when no application-port peers are configured. In deployments that rely on NetworkPolicy to restrict traffic to trusted proxies, the generated rule can leave the Keycloak HTTPS port reachable from unintended workloads.
Version
main
Expected behavior
When a deployment relies on NetworkPolicy to restrict access to trusted proxies, only the intended peers should be able to reach the application port. The Operator should document how to enforce this restriction and consider warning when forwarded-header processing is enabled without explicit trusted-source configuration.
Actual behavior
With no HTTPS source peers configured, the generated rule permits traffic from any source that can otherwise reach the workload. In the tested deployment, configuring an explicit peer restricted reachability to the intended workload. The verification covered HTTPS reachability.
This issue was originally tracked in the private repository. Migrated by @Pepo48.
Activity