Skip to content

KIngress should disallow ServiceNamespace that differs from its own #6868

@mattmoor

Description

@mattmoor

At present the validation just checks that it is specified:

if b.ServiceNamespace == "" {
all = all.Also(apis.ErrMissingField("serviceNamespace"))
}

One of the fundamental differences between ClusterIngress and Ingress was that the former allowed this and the latter should disallow this.

I noticed this by accident playing with custom HTTP01 challenges, and we should plug this hold before someone takes a dependency on this, since it is not supported by all KIngress implementations.

/kind good-first-issue

Metadata

Metadata

Assignees

Labels

area/networkinggood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions