In bash shell script I would like to make a function that takes as a parameter a variable containing the .path/to/cluster.yaml and another parameter with an array of either