From 779af328e8438a4706365200958f5564de89e54e Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Sun, 18 Jun 2023 09:02:04 -0400 Subject: [PATCH] test kong --- durpapi/templates/kong.yaml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/durpapi/templates/kong.yaml b/durpapi/templates/kong.yaml index e96f953..d8a9474 100644 --- a/durpapi/templates/kong.yaml +++ b/durpapi/templates/kong.yaml @@ -3,15 +3,19 @@ kind: Ingress metadata: name: durpapi namespace: durpapi + annotations: + konghq.com/strip-path: "true" + external-dns.alpha.kubernetes.io/hostname: "durpapi.durp.info" spec: ingressClassName: kong rules: - - http: - paths: - - path: /durpapi - pathType: Prefix - backend: - service: - name: durpapi-service - port: - number: 8080 + - host: durpapi.durp.info + http: + paths: + - path: + pathType: ImplementationSpecific + backend: + service: + name: durpapi-service + port: + number: 8080