Skip to content

Admin .addresses conditional seems to have a logic issue #1268

@tcrowder-infios

Description

@tcrowder-infios

Should this read if not defined .addresses and .enabled; inject localhost IPv4 and IPv6? As it reads, if not defined and not enabled doesn't seem to make sense.

{{- if (and (not (hasKey . "addresses")) (not .enabled)) -}}

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