Alex | f2f657e | 2021-06-14 19:44:05 -0500 | [diff] [blame] | 1 | #!/bin/bash |
2 | cd /artifacts | ||||
3 | |||||
4 | # Configure kubernetes | ||||
5 | # Check and prepare kubespec file | ||||
6 | if [ ! -f /artifacts/kubespec_generated.yaml ]; then | ||||
Alex | 1a21667 | 2022-05-25 12:40:55 -0500 | [diff] [blame] | 7 | sudo bash /rally/rally-files/gen_kubespec.sh /artifacts/mos-kubeconfig.yaml |
Alex | f2f657e | 2021-06-14 19:44:05 -0500 | [diff] [blame] | 8 | fi |
9 | # Create kubernetes env | ||||
10 | rally env create --name kubernetes --spec /artifacts/kubespec_generated.yaml | ||||
11 | rally env check |