apiVersion: v1
kind: Service
metadata:
  labels:
    app.kubernetes.io/name: nextcloud
    app.kubernetes.io/part-of: nextcloud
  name: nextcloud
  namespace: nextcloud
spec:
  ports:
  - name: http
    port: 80
    protocol: TCP
    targetPort: 80
  selector:
    app.kubernetes.io/name: nextcloud
    app.kubernetes.io/part-of: nextcloud
  type: ClusterIP
