blob: 405a060e3c7a9e6a81b1c281d434332d12b690fb [file] [log] [blame]
#!/bin/bash
cd /artifacts
# Configure kubernetes
# Check and prepare kubespec file
if [ ! -f /artifacts/kubespec_generated.yaml ]; then
sudo bash /rally/rally-files/gen_kubespec.sh /artifacts/mos-kubeconfig.yaml
fi
# Create kubernetes env
rally env create --name kubernetes --spec /artifacts/kubespec_generated.yaml
rally env check