Adds gitea app.
This commit is contained in:
28
apps/gitea/service.yaml
Normal file
28
apps/gitea/service.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: gitea-http
|
||||
namespace: gitea
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: http
|
||||
port: 3000
|
||||
targetPort: {{ .apps.gitea.port }}
|
||||
selector:
|
||||
component: web
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: gitea-ssh
|
||||
namespace: gitea
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- name: ssh
|
||||
port: {{ .apps.gitea.sshPort }}
|
||||
targetPort: 2222
|
||||
protocol: TCP
|
||||
selector:
|
||||
component: web
|
Reference in New Issue
Block a user