Adding to existing

This commit is contained in:
Kasper Juul Hermansen 2022-05-09 16:54:45 +02:00
parent f64566981a
commit dfd2fee3ac
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -14,19 +14,7 @@ spec:
services: # Service to redirect requests to services: # Service to redirect requests to
- name: api@internal # Special service created by Traefik pod - name: api@internal # Special service created by Traefik pod
kind: TraefikService 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`) - match: Host(`wishlist.kjuulh.app`)
kind: Rule kind: Rule
services: services:
@ -36,3 +24,23 @@ spec:
port: 80 port: 80
tls: tls:
secretName: clank-cert 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