-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KongConsumer cannot be programmed. Error: Entity tags missing fields {"name": "", "error": "no name"} #6530
Comments
I could not reproduce the issue without the |
I have the same issue and was able to reproduce it with the basic-auth plugin sample data. Secret config is: apiVersion: v1
kind: Secret
metadata:
name: alex-basic-auth
labels:
konghq.com/credential: basic-auth
stringData:
username: alex
password: secret123 |
Seeing the same problem here. Using similar config to the sample data. Works fine with older versions. |
@randmonkey I would like to assist to get this issue solved, as @konsti seems to be unavailable to follow up. I have used the helm chart to deploy kong, added a custom plugin (nokia oidc) and tried to activate the basic auth plugin following the basic auth plugin guide for Kubernetes (https://docs.konghq.com/hub/kong-inc/basic-auth/how-to/basic-example/). |
@m-okm Looks like there are some invalid configuration generated and sent to Kong gateway. Likely that the plugin got an invalid configuration, but no tags are attached to the translated Kong entity so KIC cannot locate the error. Please provide the related KIC logs related to it.
(2) Use
(3) Fetch the raw error from Kong gateway:
and tell us the result. |
Great, I will do so, unfortunately I need some time to do the configuration (at least a couple of days) |
@randmonkey, I am driving mad... But I was able to install it on Kubernetes 1.29.9, as well as on 1.28.14 From my point of view this ticket can be closed apart someone else can provide the logs / a description to reproduce the issue. THank you for your effort |
@konsti @fredericve I will close the issue as "Not reproducible" in 7 days if there are no further detailed reproduction that I can follow. If you have further evidence of the issue or more detailed reproducing scenario, please leave a comment. |
Is there an existing issue for this?
Current Behavior
I deploy the KIC with the Kubernetes Gateway Operator. Using the example configuration from the documentation with
When I try to create a
KongConsumer
resource, e.g.:The controller fails to sync the config to the data plane with the following error:
The data plane reports an 400 error:
Switching to versions:
solves the issue and the
KongConsumer
is synced.Expected Behavior
The
KongConsumer
can be synced without an error.Steps To Reproduce
Kong Ingress Controller version
Kubernetes version
Anything else?
No response
The text was updated successfully, but these errors were encountered: