1
0
Fork 0
mirror of https://gitlab.com/shouptech/flux.git synced 2026-02-03 21:59:44 +00:00
flux/workloads/nextcloud/nextcloud-service.yml

27 lines
438 B
YAML

kind: Service
apiVersion: v1
metadata:
name: nextcloud
namespace: nextcloud
spec:
selector:
app: nextcloud
ports:
- protocol: TCP
port: 80
targetPort: 80
---
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: nextcloud
namespace: nextcloud
spec:
rules:
- host: cloud.shoup.io
http:
paths:
- backend:
serviceName: nextcloud
servicePort: 80
path: /