Add another again...

This commit is contained in:
Kasper Juul Hermansen 2022-05-09 17:04:56 +02:00
parent 8c04aac4ad
commit 90e8f64a18
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -14,7 +14,19 @@ spec:
services: # Service to redirect requests to
- name: api@internal # Special service created by Traefik pod
kind: TraefikService
tls:
secretName: clank-cert
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: wishlist
namespace: wishlist
spec:
entryPoints:
- web
- websecure
routes:
- match: Host(`wishlist.kjuulh.app`)
kind: Rule
services:
@ -24,23 +36,3 @@ spec:
port: 80
tls:
secretName: clank-cert
#---
#apiVersion: traefik.containo.us/v1alpha1
#kind: IngressRoute
#metadata:
# name: wishlist
# namespace: wishlist
#spec:
# entryPoints:
# - web
# - websecure
# routes:
# - match: Host(`wishlist.kjuulh.app`)
# kind: Rule
# services:
# - name: wishlist
# kind: Service
# namespace: wishlist
# port: 80
# tls:
# secretName: clank-cert