| triggers: | |
| - name: DetectFaces | |
| template: | | |
| kind: Pod | |
| apiVersion: v1 | |
| metadata: | |
| name: detect-faces-{{ .Id }} | |
| spec: | |
| containers: | |
| - name: detect-faces | |
| image: giolekva/face-detector:latest | |
| imagePullPolicy: Always | |
| command: ["python3", "main.py"] | |
| args: [{{ .PCloudApiAddr }}, {{ .ObjectStoreAddr }}, {{ .Id }}] | |
| restartPolicy: Never |