infra/k8s/forgejo/services.yaml

26 lines
341 B
YAML
Raw Normal View History

2024-02-18 02:26:37 +00:00
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