mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-03 22:09:41 +00:00
Add nextcloud svc and ingress object
This commit is contained in:
parent
848c736577
commit
eae23695fb
1 changed files with 27 additions and 0 deletions
27
workloads/nextcloud/nextcloud-service.yml
Normal file
27
workloads/nextcloud/nextcloud-service.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
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: /
|
||||||
Loading…
Add table
Reference in a new issue