Merge "[CPS] Charts added for repo cps-ncmp-dmi-plugin"
[oom.git] / kubernetes / robot / scripts / etescript / hvves-etescript.sh
index 5d22c4b..63e90cd 100755 (executable)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 # Copyright © 2019 Nokia
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -12,8 +14,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-#!/bin/bash
-
 #
 # Generate HV-VES SSL related certs.
 # Copy the stuff to HV-VES and Robot pods.
@@ -49,21 +49,21 @@ create_pkcs12_ca_and_server () {
 }
 
 copy_server_certs_to_hvves () {
-       for f in {ca.p12,server.p12}
+       for f in ca.p12 server.p12
        do
                kubectl cp $1/$f $2/$3:$4
        done
 }
 
 copy_client_certs_to_robot () {
-       for f in {ca.pem,client.key,client.pem}
+       for f in ca.pem client.key client.pem
        do
                 kubectl cp $1/$f $2/$3:$4
         done
 }
 
 cleanup () {
-       rm -f $1/{ca,server,client}.???
+       rm -f $1/ca.??? $1/server.??? s$1/client.???
 }