blob: 098c022601c723238e22a7f569773375825b6260 [file] [log] [blame]
#!/bin/bash
# Load DCAE blueprints/inputs onto container
# $1 Blueprint repo base URL
# Expect blueprints to be at <base URL>/blueprints
set -x
BLUEPRINTS=\
"
k8s-deployment_handler.yaml \
k8s-holmes-engine.yaml \
k8s-holmes-rules.yaml \
k8s-policy_handler.yaml \
k8s-pgaas-initdb.yaml \
k8s-tca.yaml \
k8s-ves.yaml \
k8s-snmptrap.yaml \
k8s-prh.yaml \
k8s-hv-ves.yaml \
k8s-datafile-collector.yaml
"
BPDEST=blueprints
mkdir ${BPDEST}
# Download blueprints
for bp in ${BLUEPRINTS}
do
curl -Ss $1/blueprints/${bp} > ${BPDEST}/$(basename ${bp})
done