forgejo/k8s/service.yaml
2024-05-06 10:44:23 +02:00

20 lines
No EOL
362 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: forgejo-service
app.kubernetes.io/instance: forgejo
app: forgejo-service
name: forgejo-service
namespace: forgejo
spec:
ports:
- name: web
port: 80
targetPort: 3000
- name: ssh
port: 22
targetPort: 22
selector:
app: forgejo-pod
type: ClusterIP