mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-07 16:00:29 -05:00
Update file ingress.yaml
This commit is contained in:
parent
ca15d52c90
commit
3fa99a2852
1 changed files with 42 additions and 0 deletions
42
kong/templates/ingress.yaml
Normal file
42
kong/templates/ingress.yaml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: kong-ingress
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`kong.durp.info`) && PathPrefix(`/`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: kong-kong-proxy
|
||||
port: 443
|
||||
tls:
|
||||
secretName: kong-tls
|
||||
|
||||
---
|
||||
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: kong-tls
|
||||
spec:
|
||||
secretName: kong-tls
|
||||
issuerRef:
|
||||
name: letsencrypt-production
|
||||
kind: ClusterIssuer
|
||||
commonName: "kong.durp.info"
|
||||
dnsNames:
|
||||
- "kong.durp.info"
|
||||
|
||||
---
|
||||
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: kong-external-dns
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/hostname: kong.durp.info
|
||||
spec:
|
||||
type: ExternalName
|
||||
externalName: durp.info
|
||||
Loading…
Add table
Add a link
Reference in a new issue