-
Bug
-
Resolution: Done
-
Medium
-
None
-
None
-
None
-
OOM Sprint 8, OOM Sprint 10 - Integration
configure_app() { # if previous configuration exists put back original template file for file in $3/*.yaml; do if [ -e "$file-template" ]; then mv "$file-template" "${file%}" fi done
$file_template is not defined before this use, the above if never runs.
find $3 -type f -exec sed -i -- "s/onap-/$1-/g" {} \;
1) Above line has no meaning if you are using helm charts, all the runtime values are in values.yaml and that's where sed should run.
2) replace string should be of format
"s/onap-/$1-$2-/g"