apiVersion: apps/v1 kind: Deployment metadata: name: gotify namespace: gotify labels: app: gotify spec: replicas: 1 selector: matchLabels: app: gotify template: metadata: labels: app: gotify spec: containers: - name: gotify image: gotify/server ports: - name: web containerPort: 80 volumeMounts: - mountPath: /app/data name: flexvolsmb-gotify-data volumes: - name: flexvolsmb-gotify-data persistentVolumeClaim: claimName: flexvolsmb-gotify-data