Update file kong.yaml
This commit is contained in:
@@ -1,21 +1,22 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
#apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
#kind: Ingress
|
||||||
metadata:
|
#metadata:
|
||||||
name: durpapi
|
# name: durpapi
|
||||||
namespace: durpapi
|
# namespace: durpapi
|
||||||
annotations:
|
# annotations:
|
||||||
konghq.com/strip-path: "true"
|
# konghq.com/strip-path: "true"
|
||||||
external-dns.alpha.kubernetes.io/hostname: "durpapi.durp.info"
|
# external-dns.alpha.kubernetes.io/hostname: "durpapi.durp.info"
|
||||||
spec:
|
#spec:
|
||||||
ingressClassName: kong
|
# ingressClassName: kong
|
||||||
rules:
|
# rules:
|
||||||
- host: durpapi.durp.info
|
# - host: durpapi.durp.info
|
||||||
http:
|
# http:
|
||||||
paths:
|
# paths:
|
||||||
- path:
|
# - path:
|
||||||
pathType: ImplementationSpecific
|
# pathType: ImplementationSpecific
|
||||||
backend:
|
# backend:
|
||||||
service:
|
# service:
|
||||||
name: durpapi-service
|
# name: durpapi-service
|
||||||
port:
|
# port:
|
||||||
number: 8080
|
# number: 8080
|
||||||
|
#
|
||||||
Reference in New Issue
Block a user