Skip to content

Service resource validating a config/route with the same name don't previously exist #1299

@cooperneil

Description

@cooperneil

The Service resource is responsible for minting a new Configuration & Route with the same name as the Service. Should we validate in the webhook that there is not a pre-existing/conflicting Configuration/Route with the same name?

I propose the right behavior would be to deliver a 409(conflict) to the user if a conflicting Configuration/Route already exists, and fail Service creation.

The customer would then need to either rename the Service, or delete the conflicting Route/Configuration, and re-POST the Service create request.

thoughts?

/area API
/cc @sixolet @mattmoor @shefaliv @whaught @steren @mikehelmick

Metadata

Metadata

Assignees

Labels

area/APIAPI objects and controllerskind/specDiscussion of how a feature should be exposed to customers.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions