8000 Generated HTTPS NetworkPolicy allows direct access when no source peers are configured · Issue #55545 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content
8000

Generated HTTPS NetworkPolicy allows direct access when no source peers are configured #55545

Backlog

Description

@Pepo48

Describe the bug

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

  1. added
    priority/important
    area/operator
    on Nov 25, 2026
  2. added theissue type on Nov 25, 2026
  3. < 6AB6 div class="prc-Timeline-TimelineBadge-u0qSm">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/operatorkind/weaknesspriority/importantteam/cloud-native

    Fields

    No fields configured for weakness.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0