infra4talos/apps-kustomized/cryptpad/service.yaml

27 lines
429 B
YAML
Raw Normal View History

apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: cryptpad
name: cryptpad
spec:
ports:
- name: http
port: 3000
targetPort: http
selector:
app.kubernetes.io/name: cryptpad
---
apiVersion: v1
kind: Service
metadata:
labels:
app.kubernetes.io/name: cryptpad
name: cryptpad-safe
spec:
ports:
- name: http-safe
port: 3001
selector:
app.kubernetes.io/name: cryptpad