chore(kavita): add service and ingress

This commit is contained in:
David Landry 2023-11-05 20:50:53 -05:00
parent 2997a4c315
commit d6595344f1
3 changed files with 39 additions and 0 deletions

View file

@ -39,6 +39,7 @@ spec:
io.kompose.network/ebooks-default: "true"
io.kompose.network/public: "true"
io.kompose.service: kavita
app.kubernetes.io/name: kavita
spec:
containers:
- env:

View file

@ -0,0 +1,23 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kavita
labels:
name: kavita
spec:
rules:
- host: library.nc.landry.land
http:
paths:
- backend:
service:
name: kavita
port:
number: 5000
path: /
pathType: Prefix
tls:
- hosts:
- library.nc.landry.land
secretName: kavita-tls

View file

@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: kavita
labels:
name: kavita
spec:
ports:
- port: 5000
targetPort: http
protocol: TCP
name: http
selector:
app.kubernetes.io/name: kavita
#publishNotReadyAddresses: true