From 90e8f64a18758aada93c6ef1bfbcf7ac9d670a5c Mon Sep 17 00:00:00 2001 From: kjuulh Date: Mon, 9 May 2022 17:04:56 +0200 Subject: [PATCH] Add another again... --- clank/platform/traefik/ingress.yaml | 34 +++++++++++------------------ 1 file changed, 13 insertions(+), 21 deletions(-) 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