apiVersion: v1
kind: PersistentVolume
metadata:
  name: matrix-signing-key
  namespace: telviva-portal
  labels:
    name: matrix-signing-key
    environment: production
    app: telviva-portal
spec:
  capacity:
    storage: 1Mi
  volumeMode: Filesystem
  accessModes:
  - ReadWriteOnce
  persistentVolumeReclaimPolicy: Retain
  storageClassName: local-storage
  local:
    path: /storagejhb/telviva-portal/matrix/signing-key
  nodeAffinity:
    required:
      nodeSelectorTerms:
        - matchExpressions:
          - key: topology.kubernetes.io/region
            operator: In
            values:
            - jhb-1