--- apiVersion: apps/v1 kind: Deployment metadata: name: senpy-latest spec: replicas: 1 selector: matchLabels: app: senpy-latest template: metadata: labels: app: senpy-latest role: senpy-latest spec: containers: - name: senpy-latest image: $IMAGEWTAG imagePullPolicy: Always args: ["--enable-cors"] resources: limits: memory: "512Mi" cpu: "1000m" ports: - name: web containerPort: 5000 volumeMounts: - name: senpy-data mountPath: /senpy-data subPath: data volumes: - name: senpy-data persistentVolumeClaim: claimName: pvc-senpy