Skip to content

Lbaas: Listener's SniContainerRefs cannot be unset #1722

@kayrus

Description

@kayrus

UpdateOpts struct for the listeners contains:

SniContainerRefs []string `json:"sni_container_refs,omitempty"`

Which means that SniContainerRefs cannot be set to an empty list.

I suggest to add the:

SniContainerRefs *[]string `json:"sni_container_refs,omitempty"`

UPD: the same has to be done for the DefaultTlsContainerRef and AllowedCIDRs.

UPD2: If the protocol is TERMINATED_HTTPS, then DefaultTlsContainerRef is required and cannot be unset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions