23 lines
389 B
YAML
23 lines
389 B
YAML
---
|
|
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
|