Add plantwiki

main
trivernis 1 year ago
parent 2996f11669
commit 76aa1c5341
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -0,0 +1,52 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: plantwiki
spec:
replicas: 1
selector:
matchLabels:
app: plantwiki
template:
metadata:
labels:
app: plantwiki
spec:
containers:
- image: git.trivernis.net/trivernis/plantwiki:latest
name: plantwiki
ports:
- name: port-plantwiki
containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
name: plantwiki-srv
spec:
ports:
- port: 80
protocol: TCP
targetPort: 80
selector:
app: plantwiki
type: ClusterIP
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: plantwiki-route
spec:
entryPoints:
- web
routes:
- match: Host(`plantwiki.trivernis.dev`)
kind: Rule
services:
- name: plantwiki-srv
port: 80
- match: Host(`plantwiki.trivernis.net`)
kind: Rule
services:
- name: plantwiki-srv
port: 80
Loading…
Cancel
Save