"validations.kong.konghq.com" denied the request: consumer already exists
error in isolated namespaces
#13684
Labels
pending author feedback
Waiting for the issue author to get back to a maintainer with findings, more details, etc...
Is there an existing issue for this?
Kong version (
$ kong version
)Kong 3.1
Current Behavior
In our environment we have deployed the same consumers in different namespaces. This has previously worked before but recently we were doing changes around our Kong consumers and on adding new environments we are getting the following error:
one or more objects failed to apply, reason: admission webhook "validations.kong.konghq.com" denied the request: consumer already exists
Kong logs that are probably related:
time="2024-09-17T09:30:18Z" level=error msg="failed to run validation" component=admission-server error="unique key constraint violated for key"
We are aware of the documentation that mentions
username
should be unique but this method of isolation has worked before and should probably continue to do so. Our environments should be a easily reproducible as possible.Expected Behavior
No response
Steps To Reproduce
No response
Anything else?
Cluster information: EKS
v1.28
The text was updated successfully, but these errors were encountered: