From 9fe18f322346eb2a2334fe6f8772ca183cfe4f2b Mon Sep 17 00:00:00 2001 From: kjuulh Date: Mon, 9 May 2022 10:37:27 +0200 Subject: [PATCH] Move service --- clank/apps/prod/wishlist/app.yaml | 20 -------------------- clank/platform/traefik/ingress.yaml | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/clank/apps/prod/wishlist/app.yaml b/clank/apps/prod/wishlist/app.yaml index 52f38a5..d2f3489 100644 --- a/clank/apps/prod/wishlist/app.yaml +++ b/clank/apps/prod/wishlist/app.yaml @@ -3,26 +3,6 @@ kind: Namespace metadata: name: wishlist --- -apiVersion: traefik.containo.us/v1alpha1 -kind: IngressRoute -metadata: - name: wishlist-ingress - namespace: kube-system -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 ---- apiVersion: apps/v1 kind: Deployment metadata: diff --git a/clank/platform/traefik/ingress.yaml b/clank/platform/traefik/ingress.yaml index 67864ac..e13485b 100644 --- a/clank/platform/traefik/ingress.yaml +++ b/clank/platform/traefik/ingress.yaml @@ -16,3 +16,23 @@ spec: kind: TraefikService tls: secretName: clank-cert +--- +apiVersion: traefik.containo.us/v1alpha1 +kind: IngressRoute +metadata: + name: wishlist-ingress + namespace: kube-system +spec: + entryPoints: + - web + - websecure + routes: + - match: Host(`wishlist.kjuulh.app`) + kind: Rule + services: + - name: wishlist-service + kind: Service + namespace: wishlist + port: 80 + tls: + secretName: clank-cert