dlstreamer/pipeline-server

Kubernetes deployment fails if no_proxy contains *

whbruce opened this issue · 1 comments

If deployment will fails as follows:

$ pipeline-server-worker/deploy.sh
Adding proxy settings to /home/whbruce/dlstreamer-pipeline-server/samples/kubernetes/pipeline-server-worker/pipeline-server.yaml
Using /home/whbruce/dlstreamer-pipeline-server/samples/kubernetes/pipeline-server-worker/pipeline-server.yaml to deploy pipeline server
error: error parsing /home/whbruce/dlstreamer-pipeline-server/samples/kubernetes/pipeline-server-worker/pipeline-server.yaml: error converting YAML to JSON: yaml: line 31: did not find expected alphabetic or numeric character 

You likely have a * in your no_proxy setting which cases the follwing entry in pipeline-server.yaml

        - name: no_proxy
          value: *.mycorp.com,127.0.0.1,localhost 

To fix remove * from no_proxy environment variable and re-build and re-deploy.

Fixed in 2022.2.0 (v1.0)