Move service

This commit is contained in:
Kasper Juul Hermansen 2022-05-09 10:37:27 +02:00
parent 7ad2493a47
commit 9fe18f3223
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
2 changed files with 20 additions and 20 deletions

View File

@ -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:

View File

@ -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