diff --git a/clank/platform/traefik/ingress.yaml b/clank/platform/traefik/ingress.yaml index 9cb0529..6d5cdc3 100644 --- a/clank/platform/traefik/ingress.yaml +++ b/clank/platform/traefik/ingress.yaml @@ -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