Some of the repetitive violations were suppressed.
534B; Unix Shell | 2019-02-15 10:15:10+01 | SLOC 17
1
#!/bin/bash
2 3
{{ docker_bin_dir }}/docker run --rm \
3
  --net=host \
4
  --name=helm \
5
  -v /root/.kube:/root/.kube:ro \
6
  -v /etc/ssl:/etc/ssl:ro \
7 8
  -v {{ helm_home_dir }}:{{ helm_home_dir }}:rw \
8
  {% for dir in ssl_ca_dirs -%}
9
  -v {{ dir }}:{{ dir }}:ro \
10
  {% endfor -%}␣
11 1
  {% if http_proxy is defined or https_proxy is defined -%}
12
  -e http_proxy="{{proxy_env.http_proxy}}" \
13
  -e https_proxy="{{proxy_env.https_proxy}}" \
14
  -e no_proxy="{{proxy_env.no_proxy}}" \
15
  {% endif -%}
16 3
  {{ helm_image_repo }}:{{ helm_image_tag}} \
17
  "$@"