Skip to content

[Bug]: stream snippets enumeration is not guarded by an "if" #8095

@javorszky

Description

@javorszky

Version

edge

What Kubernetes platforms are you running on?

Kind

Steps to reproduce

While looking into something different, I noticed that the http block in the nginx templates have the http snippet range guarded behind an if, but the stream block doesn't guard the stream snippets evaluation behind an if

HTTP:

Stream:

We need to double check whether we need the if, and if so, add it to stream too. If not, we can remove it from http.

Potential step to bump into a render issue: have a CRD with a stream snippet key present with empty value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue reporting a potential bug

    Type

    No type

    Projects

    Status

    Done 🚀

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions