apps(sharkey): Add service and route configuration
parent
9d1b012de0
commit
ac0e8df9c8
@ -0,0 +1,17 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: web
|
||||
namespace: sharkey
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`sharkey.trivernis.dev`)
|
||||
kind: Rule
|
||||
middlewares:
|
||||
- name: strict-security-headers
|
||||
namespace: default
|
||||
services:
|
||||
- name: sharkey
|
||||
port: http
|
@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: sharkey
|
||||
namespace: sharkey
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 3000
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
selector:
|
||||
app: sharkey
|
||||
type: ClusterIP
|
||||
|
Loading…
Reference in New Issue