apiVersion: apps/v1
kind: Deployment
metadata:
  name: maloja
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: maloja
      app.kubernetes.io/part-of: maloja
  template:
    metadata:
      labels:
        app.kubernetes.io/name: maloja
        app.kubernetes.io/part-of: maloja
    spec:
      containers:
      - name: maloja
        volumeMounts:
        - mountPath: /var/lib/maloja
          name: data
      volumes:
      - name: data
        hostPath:
          path: /var/lib/maloja
          type: Directory
