26 lines
341 B
YAML
26 lines
341 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: forgejo
|
||
|
namespace: forgejo
|
||
|
spec:
|
||
|
ports:
|
||
|
- name: web
|
||
|
port: 3000
|
||
|
selector:
|
||
|
app: forgejo
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: forgejo-ssh
|
||
|
namespace: forgejo
|
||
|
spec:
|
||
|
type: NodePort
|
||
|
ports:
|
||
|
- name: ssh
|
||
|
port: 22
|
||
|
nodePort: 30001
|
||
|
selector:
|
||
|
app: forgejo
|