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