netflux-kubernetes/deploy/base/svc-gitea.yaml

23 lines
389 B
YAML
Raw Normal View History

2022-05-16 20:23:53 +00:00
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/instance: gitea
app.kubernetes.io/name: gitea
name: gitea
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 3000
- name: ssh
port: 22
protocol: TCP
targetPort: 2222
selector:
app.kubernetes.io/instance: gitea
app.kubernetes.io/name: gitea
type: ClusterIP