21 lines
509 B
YAML
21 lines
509 B
YAML
|
|
# Git/SSH access for Forgejo (NodePort pattern mirrors coulombcore Gitea).
|
||
|
|
apiVersion: v1
|
||
|
|
kind: Service
|
||
|
|
metadata:
|
||
|
|
name: forgejo-ssh-nodeport
|
||
|
|
namespace: forgejo
|
||
|
|
labels:
|
||
|
|
app.kubernetes.io/name: forgejo
|
||
|
|
app.kubernetes.io/instance: forgejo
|
||
|
|
app.kubernetes.io/part-of: railiance-apps
|
||
|
|
spec:
|
||
|
|
type: NodePort
|
||
|
|
selector:
|
||
|
|
app.kubernetes.io/instance: forgejo
|
||
|
|
app.kubernetes.io/name: gitea
|
||
|
|
ports:
|
||
|
|
- name: ssh
|
||
|
|
port: 22
|
||
|
|
targetPort: 2222
|
||
|
|
nodePort: 30022
|
||
|
|
protocol: TCP
|