Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[COMMON] Add custom certs into AAF truststore
[oom.git]
/
kubernetes
/
common
/
cert-wrapper
/
resources
/
import-custom-certs.sh
diff --git
a/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh
b/kubernetes/common/cert-wrapper/resources/import-custom-certs.sh
index
87e584c
..
b5a1d57
100755
(executable)
--- a/
kubernetes/common/cert-wrapper/resources/import-custom-certs.sh
+++ b/
kubernetes/common/cert-wrapper/resources/import-custom-certs.sh
@@
-50,7
+50,8
@@
done
# Prepare truststore output file
if [ "$AAF_ENABLED" == "true" ]
then
# Prepare truststore output file
if [ "$AAF_ENABLED" == "true" ]
then
- mv $WORK_DIR/$ONAP_TRUSTSTORE $WORK_DIR/$TRUSTSTORE_OUTPUT_FILENAME
+ echo "AAF is enabled, use 'AAF' truststore"
+ export TRUSTSTORE_OUTPUT_FILENAME=${ONAP_TRUSTSTORE}
else
echo "AAF is disabled, using JRE truststore"
cp $JRE_TRUSTSTORE $WORK_DIR/$TRUSTSTORE_OUTPUT_FILENAME
else
echo "AAF is disabled, using JRE truststore"
cp $JRE_TRUSTSTORE $WORK_DIR/$TRUSTSTORE_OUTPUT_FILENAME