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: metadata:
name: wishlist 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 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:

View File

@ -16,3 +16,23 @@ spec:
kind: TraefikService kind: TraefikService
tls: tls:
secretName: clank-cert 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