add gitea manifests
This commit is contained in:
42
clusters/ipv6/git-ops/gitea/gitea-svc.yml
Normal file
42
clusters/ipv6/git-ops/gitea/gitea-svc.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: gitea-app
|
||||
namespace: git-ops
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: gitea-app
|
||||
ports:
|
||||
- port: 222
|
||||
targetPort: 22
|
||||
name: ssh
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: gitea-int-service
|
||||
namespace: git-ops
|
||||
spec:
|
||||
selector:
|
||||
app: gitea-app
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 3000
|
||||
targetPort: 3000
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: gitea-db
|
||||
namespace: git-ops
|
||||
spec:
|
||||
ports:
|
||||
- port: 5432
|
||||
targetPort: 5432
|
||||
selector:
|
||||
app: gitea-db
|
||||
clusterIP: None
|
||||
Reference in New Issue
Block a user