File tree Expand file tree Collapse file tree
microservices/dlstreamer-pipeline-server/helm/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 imagePullSecrets :
2424 - name : registryauth
2525 {{- end }}
26+ initContainers :
27+ - name : fetch-pipeline-resources
28+ image : alpine:3.20
29+ command :
30+ - /bin/sh
31+ - -c
32+ - |
33+ apk add --no-cache git wget;
34+ mkdir -p /resources/models/geti;
35+ mkdir -p /resources/videos;
36+ git clone --depth 1 https://github.com/open-edge-platform/edge-ai-libraries.git /tmp/repo;
37+ cp -r /tmp/repo/microservices/dlstreamer-pipeline-server/resources/models/geti/pallet_defect_detection /resources/models/geti/;
38+ wget -O /resources/videos/warehouse.avi https://github.com/open-edge-platform/edge-ai-libraries/raw/main/microservices/dlstreamer-pipeline-server/resources/videos/warehouse.avi;
39+ volumeMounts :
40+ - name : pipeline-resources
41+ mountPath : /resources
42+
2643 containers :
2744 - name : dlstreamer-pipeline-server
2845 image : {{ $.Values.DOCKER_REGISTRY }}{{ $.Values.images.dlstreamer_pipeline_server }}
94111 mountPath : /var/tmp
95112 - name : run-udev
96113 mountPath : /run/udev
114+ - name : pipeline-resources
115+ mountPath : /home/pipeline-server/resources
116+
97117 volumes :
98118 - name : dlstreamer-pipeline-server-input
99119 configMap :
@@ -115,3 +135,5 @@ spec:
115135 - name : run-udev
116136 hostPath :
117137 path : /run/udev
138+ - name : pipeline-resources
139+ emptyDir : {}
You can’t perform that action at this time.
0 commit comments