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