Sha256: ecf73aafb8779d8957ec30951b436c689ec7414ff2f2d548b832d69414c4a9db
Contents?: true
Size: 985 Bytes
Versions: 3
Compression:
Stored size: 985 Bytes
Contents
#!/usr/bin/env bash set -e #Make sure to check and clean previously failed deployment echo "Checking if previous deployment exist..." if [ "`helm ls --short`" == "" ]; then echo "Nothing to clean, ready for deployment" else helm delete $(helm ls --short) fi # Clone splunk-connect-for-kubernetes repo cd /opt git clone https://github.com/splunk/splunk-connect-for-kubernetes.git cd splunk-connect-for-kubernetes minikube image load splunk/k8s-metrics-aggr:recent echo "Deploying k8s-connect with latest changes" helm install ci-sck --set global.splunk.hec.token=$CI_SPLUNK_HEC_TOKEN \ --set global.splunk.hec.host=$CI_SPLUNK_HOST \ --set kubelet.serviceMonitor.https=true \ --set splunk-kubernetes-metrics.imageAgg.tag=recent \ --set splunk-kubernetes-metrics.imageAgg.pullPolicy=IfNotPresent \ -f ci_scripts/sck_values.yml helm-chart/splunk-connect-for-kubernetes #wait for deployment to finish until kubectl get pod | grep Running | [[ $(wc -l) == 4 ]]; do sleep 1; done
Version data entries
3 entries across 3 versions & 1 rubygems