I used below simple helm chart to install the kong gateway
helm upgrade kong kong/kong --install --set ingressController.installCRDs=false --namespace kong --set proxy.type=NodePort --set proxy.http.servicePort=8000 --set proxy.http.containerPort=8000 --set proxy.http.nodePort=32040 --set ingressController.enabled=false --set dblessConfig.configMap=kong.yml --set-file dblessConfig.config=kong.yml
Although I define the path in the kong.yml, when I try to access the path, it always returns" “no Route matched with those values” I suspect the kong.yml is not properly loaded in the container. what could be wrong?
kong.yml as below
_format_version: “3.0”
_transform: true
services:
- name: example-service
url: http://example.com
# Entities can store tags as metadata
tags:
- example
# Entities that have a foreign-key relationship can be nested:
routes:
- name: example-route
paths:- /
plugins:
- /
- name: request-termination
config:
status_code: 200
body: noOk3