Skip to content

Add policy for ingress host rules #118

@tmojlupo

Description

@tmojlupo

What would you like to be added:
A policy that verifies that ingress resources are created with something in spec.rules[].host and block if spec.rules[].host is empty.

Why is this needed:
If someone creates an ingress without any host specified, that ingress could become a wildcard rule and could answer for any hostname that doesn't already have an ingress rule.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions