-
I want to enable centralized authentication when deploying kong as a kubernetes ingress controller running with postgres database. Hence I deployed the plugin as decribed in this yaml file and added the plugin to the ingress component as shown in this yaml. The yaml file contents are pasted below too for easy reference. I am running k3s on my laptop as the kubernetes cluster.
Even after applying the plugin I do not get an error if the Authorization header is not passed when making the api request through curl. I get a valid api response. I suspect one reason for this could be the fact that the address field is not populated for the ingress controller as shown in this screenshot. It gets populated when traefik acts as an ingress controller. Due to this I cannot access the apis exposed by the microservices (pods) from outside. Could you please guide me on what could be missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
I could resolve the "address field not be populated for the ingress resource" problem by disabling traefik ingress controller that gets by default installed on k3s. After disabling it, my ingress resource does get an external ip assigned after which apis can be called from outside. The plugin still isn't getting activated though. The original problem remains |
Beta Was this translation helpful? Give feedback.
I could resolve the "address field not be populated for the ingress resource" problem by disabling traefik ingress controller that gets by default installed on k3s. After disabling it, my ingress resource does get an external ip assigned after which apis can be called from outside.
The plugin still isn't getting activated though. The original problem remains