chore(foundryvtt): adjust service and ingress
This commit is contained in:
parent
1a91f62ab3
commit
9fa7c454ee
1 changed files with 75 additions and 31 deletions
|
|
@ -10,8 +10,8 @@ spec:
|
|||
app: foundryvtt
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8080
|
||||
- port: 8080
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
---
|
||||
|
|
@ -26,6 +26,19 @@ spec:
|
|||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
# gethomepage.dev/enabled: "true"
|
||||
# gethomepage.dev/href: https://library.nc.landry.land
|
||||
# gethomepage.dev/name: "FoundryVTT"
|
||||
# gethomepage.dev/description: "Virtual-tabletop"
|
||||
# gethomepage.dev/group: "Games"
|
||||
# gethomepage.dev/icon: "foundryvtt.png"
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.foundryvtt.entrypoints: websecure
|
||||
traefik.http.routers.foundryvtt.rule: Host(`foundryvtt.nc.landry.land`)
|
||||
traefik.http.routers.foundryvtt.service: foundryvtt
|
||||
traefik.http.routers.foundryvtt.tls.certresolver: leresolver
|
||||
traefik.http.services.foundryvtt.loadbalancer.server.port: "8080"
|
||||
labels:
|
||||
app: foundryvtt
|
||||
spec:
|
||||
|
|
@ -81,3 +94,34 @@ spec:
|
|||
requests:
|
||||
storage: 2Gi
|
||||
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-issuer
|
||||
gethomepage.dev/enabled: "true"
|
||||
gethomepage.dev/name: "FoundryVTT"
|
||||
gethomepage.dev/description: "Virtual-tabletop"
|
||||
gethomepage.dev/group: "Games"
|
||||
gethomepage.dev/icon: "foundryvtt.png"
|
||||
name: foundryvtt
|
||||
labels:
|
||||
name: foundryvtt
|
||||
spec:
|
||||
rules:
|
||||
- host: vtt.nc.landry.land
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: foundryvtt
|
||||
port:
|
||||
number: 8080
|
||||
path: /
|
||||
pathType: Prefix
|
||||
|
||||
tls:
|
||||
- hosts:
|
||||
- library.nc.landry.land
|
||||
secretName: foundryvtt-tls
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue