Skip to content

[Possible breaking change] - Making listeners optional on Gateway - Needs sign off #4425

@rikatz

Description

@rikatz

What

Based on ListenerSet promotion, we want to make Gateway listeners optional starting on release 1.5.

This means that users now may be able to create a Gateway without Listeners as soon as they have the "allowedListeners" field defined.

Why

ListenerSet specification makes gateway listeners optional. We want to make this change sooner than later, and right now enforcing Gateway admins to set a listener while allowing users to attach ListenerSet may cause undesired behaviors, and force admins to create dummy listeners that can become a problem later

How

This change will:

  • Create a validation on Gateway's spec.listeners that would make it required IF spec.allowedListeners is not null
  • Drop the minItems from Gateway spec.listeners

What we need from you?

  • If you are someone that represents an implementation, please verify if your implementation will not break with this change (aka you check the listeners array) and SIGN OFF on this issue saying you are aware / ok with it and the implementation name
  • If you are someone that represents an implementation and disagree with this change right now, please provide some more information on how this may impact you.
  • If you are a concerned user, please add your concerns

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/documentationCategorizes issue or PR as related to documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions