apiVersion: portworx.io/v1beta2
kind: VolumePlacementStrategy
metadata:
name: postgres-volume-affinity
spec:
volumeAffinity:
  - matchExpressions:
    - key: app
      operator: In
      values:
        - postgres
