Update file kong.yaml

This commit is contained in:
2023-06-25 02:11:08 +00:00
parent 72071aa400
commit 8ce4b312a1

View File

@@ -1,21 +1,22 @@
apiVersion: networking.k8s.io/v1
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:
- host: durpapi.durp.info
http:
paths:
- path:
pathType: ImplementationSpecific
backend:
service:
name: durpapi-service
port:
number: 8080
#apiVersion: networking.k8s.io/v1
#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:
# - host: durpapi.durp.info
# http:
# paths:
# - path:
# pathType: ImplementationSpecific
# backend:
# service:
# name: durpapi-service
# port:
# number: 8080
#