Replies: 1 comment
-
What chart and values did you use to install Kong in k8s? by default we install Kong ingress controller (KIC) + Kong gateway, and in such case, configuration of Kong is controlled by KIC. The configuration loaded from yaml files will be overwritten by configuration generated by KIC. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Kong Gateway 3.4 in a DB-less configuration to set up a route that requires token-based authentication. This setup works perfectly in Docker but fails when deployed to Kubernetes (K8s). Below are the configuration details and the issue observed.
The configuration file (YAML) for the route setup is as follows:
The request that works in Docker but fails in K8s:
When deploying to K8s, the request returns:
To troubleshoot, I tried different regex patterns in the Authorization header, but they didn’t resolve the issue:
Kong Version: 3.4
Environment:
Would appreciate any guidance or troubleshooting steps from the community on why this configuration works in Docker but not in Kubernetes. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions