apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: nextcloud-aio spec: ingress: - from: - podSelector: matchLabels: io.kompose.network/nextcloud-aio: "true" podSelector: matchLabels: io.kompose.network/nextcloud-aio: "true"