20 lines
No EOL
362 B
YAML
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 |