Move service
This commit is contained in:
parent
7ad2493a47
commit
9fe18f3223
@ -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:
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user