apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: allow-techlog-backend namespace: object-storage spec: ingress: - from: - namespaceSelector: matchLabels: kubernetes.io/metadata.name: hyeonworks-prod podSelector: matchLabels: app: techlog-backend ports: - port: 9000 protocol: TCP podSelector: matchLabels: aistor.min.io/objectStore: minio-aistor policyTypes: - Ingress