---
apiVersion: v1
kind: ConfigMap
metadata:
  name: cdash-updater
  namespace: cdash
data:
  script: |
    #! /bin/sh -e
    date
    echo
    wget -O -                                                            \
        "https://dl.k8s.io/v1.15.0/kubernetes-client-linux-amd64.tar.gz" \
            | tar xzf -                                                  \
    echo "ROLLOUT deployments/$dep"
    exec kubernetes/client/bin/kubectl rollout restart -n cdash \
        deployments/cdash
