forgejo/k8s/service.yaml

20 lines
362 B
YAML
Raw Normal View History

2024-05-06 10:44:23 +02:00
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