3 # usage: collect_qat_yaml.sh [target]
8 echo "Please input the target folder!"
19 cp qat_plugin_default_configmap.yaml $temp/
20 cp qat_plugin_privileges.yaml $temp/
21 echo "#!/bin/bash" >> $temp/install.sh
22 echo "cat qat_plugin_default_configmap.yaml | kubectl apply -f -" >> $temp/install.sh
23 echo "cat qat_plugin_privileges.yaml | kubectl apply -f -" >> $temp/install.sh
25 if [ ! -d $target/yaml ]; then
26 $MKDIR_P $target/yaml;
29 tar czvf $target/yaml/qat_yaml-$VER.tar.gz $temp/